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

关于运行train_rnn.py的问题 #48

Open
kikibros opened this issue May 19, 2022 · 1 comment
Open

关于运行train_rnn.py的问题 #48

kikibros opened this issue May 19, 2022 · 1 comment

Comments

@kikibros
Copy link

C:\Users\yhq.conda\envs\pytorch\python.exe D:/Dual-Path-RNN-Pytorch-master/Dual-Path-RNN-Pytorch-master/train_rnn.py
C:\Users\yhq.conda\envs\pytorch\lib\site-packages\torchaudio\extension\extension.py:14: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
Traceback (most recent call last):
File "D:/Dual-Path-RNN-Pytorch-master/Dual-Path-RNN-Pytorch-master/train_rnn.py", line 91, in
train()
File "D:/Dual-Path-RNN-Pytorch-master/Dual-Path-RNN-Pytorch-master/train_rnn.py", line 61, in train
opt = option.parse(args.opt)
File "D:\Dual-Path-RNN-Pytorch-master\Dual-Path-RNN-Pytorch-master\config\option.py", line 4, in parse
with open(opt_path, mode='r') as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType

Process finished with exit code 1
请问一下出现这个错误怎么解决,或者说是哪方面出现了问题,求答复,感谢!

@JusperLee
Copy link
Owner

应该是未检测到opt_path的输入文件路径

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