You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the command line display error messages like this:
Traceback (most recent call last):
File "generator.py", line 98, in <module>
os.makedirs(args.out_dir, exist_ok=False)
TypeError: makedirs() got an unexpected keyword argument 'exist_ok'
Traceback (most recent call last):
File "generator.py", line 128, in <module>
for spk in train_folders]
TypeError: glob() got an unexpected keyword argument 'recursive'
Traceback (most recent call last):
File "generator.py", line 150, in <module>
with Pool(cpu_num) as p:
AttributeError: __exit__
When I queried these questions, I found that they were all due to incompatibility of Python versions.My Python version is 2.7. Is "generator. py" only suitable for Python 3.5 environment? Is there any way to run this code in Python 2.7?
Looking forward to your reply!
The text was updated successfully, but these errors were encountered:
Hi all, I encountered a question when I tried to preprocess wav files.
When I input this
the command line display error messages like this:
When I queried these questions, I found that they were all due to incompatibility of Python versions.My Python version is 2.7. Is "generator. py" only suitable for Python 3.5 environment? Is there any way to run this code in Python 2.7?
Looking forward to your reply!
The text was updated successfully, but these errors were encountered: