-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
训练成功过,中途退出了,重新开始训练,出现新的问题了 AssertionError:如果capturable=False,则state_步骤不应为CUDA张量。 #672
Comments
pytorch版本问题,将CUDA降到11.5,安装对应版本的pytorch 1.11.0 |
我已经成功开始过训练,从75K训练到78K了,我主动停止了训练,在没有更新的情况下,再次启动训练,就弹出问题了。 |
Arguments: Checkpoint path: synthesizer\saved_models\cjgbtest\cjgbtest.pt Initialising Tacotron Model... \Loading the json with %s Loading weights at synthesizer\saved_models\cjgbtest\cjgbtest.pt Traceback (most recent call last): |
论据: |
找到解决方法了 首先卸载pytorch cmd 键入 pip uninstall torch 执行卸载 重新装pytorch 我这里是一个旧版本:# CUDA 11.1 |
Summary[问题简述(一句话)]
训练成功过,中途退出了,重新开始训练,出现新的问题了
AssertionError: If capturable=False, state_steps should not be CUDA tensors.
Env & To Reproduce[复现与环境]
PYTHON 3.9
Screenshots[截图(如有)]
![image](https://user-images.githubusercontent.com/44706193/180476774-9311d97d-c2a8-45b3-95c0-c283e98181e0.png)
The text was updated successfully, but these errors were encountered: