howl icon indicating copy to clipboard operation
howl copied to clipboard

Unable to generate raw dataset.

Open BoazOrel opened this issue 2 years ago • 1 comments

Hi, I'm trying to generate a custom dataset as instructed. After the filtering process, I get this error:

Traceback (most recent call last): File "/home/boaz/miniconda3/envs/howlenv/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/boaz/miniconda3/envs/howlenv/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/boaz/howl/training/run/generate_raw_audio_dataset.py", line 139, in main( File "/home/boaz/howl/training/run/generate_raw_audio_dataset.py", line 56, in the main raw_dataset_generator.generate_datasets(positive_dataset_path, SampleType.POSITIVE, percentage=positive_pct) File "/home/boaz/howl/howl/dataset/raw_audio_dataset_generator.py", line 92, in generate_datasets dataset.print_stats(self.logger, word_searcher=word_searcher, compute_length=True) File "/home/boaz/howl/howl/data/dataset/dataset.py", line 233, in print_stats log_msg = header + " " TypeError: unsupported operand type(s) for +: 'Logger' and 'str'

I'm using ubuntu 22.04.1 python 3.9 pytorch 1.10 pyaudio-0.2.11

Thanks in advance for the help :)

BoazOrel avatar Jan 17 '23 09:01 BoazOrel