This commit is contained in:
wendtalexander
2023-01-24 09:05:58 +01:00
2 changed files with 33 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import os
import pandas as pd
import numpy as np
from chirpdetection import chirpdetection
from IPython import embed
@@ -40,6 +41,8 @@ if __name__ == '__main__':
datapaths = [os.path.join(dataroot, dataset) +
'/' for dataset in valid_datasets]
main(datapaths)
recs = pd.DataFrame(columns=['recording'], data=valid_datasets)
recs.to_csv('../recs.csv', index=False)
# main(datapaths)
# window 1524 + 244 in dataset index 4 is nice example