Project-OSmOSE / OSEkit

OSEkit is an open source suite of tools written in python and dedicated to the management and analysis of data in underwater passive acoustics.
https://osmose.ifremer.fr
Other
3 stars 2 forks source link

reshape should be made dependent on resample #32

Closed cazaudo closed 1 year ago

cazaudo commented 1 year ago

currently there is a bug when you do resample + reshape because jobs run simultaneously , and if i understand properly the parameters of reshape it reshapes the resampled wav moved on the output directory , so reshape job should be made dependent on resample job

Parameters : Namespace(input_files='/home/datawork-osmose/dataset/test_sample_DC/data/audio/10_2150', chunk_size=10, output_dir='/home/datawork-osmose/dataset/test_sample_DC/data/audio/10_2150', batch_ind_min=0, batch_ind_max=39, offset_beginning=0, offset_end=0, max_delta_interval=5, verbose=True, overwrite=True, force=True, last_file_behavior='pad')

Rumengol commented 1 year ago

It is the case already, but there was an oversight for when the data normalization step is skipped. The referenced commit fixes the issue.