Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate raw dataset. #121

Open
BoazOrel opened this issue Jan 17, 2023 · 1 comment
Open

Unable to generate raw dataset. #121

BoazOrel opened this issue Jan 17, 2023 · 1 comment

Comments

@BoazOrel
Copy link

BoazOrel commented Jan 17, 2023

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 :)

@Neukiru
Copy link

Neukiru commented Feb 17, 2023

Jut replace log_msg = header + ' ' with log_msg = "Dataset" + ' ' for instance in
howl/howl/data/dataset/dataset.py on line 233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants