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
TypeError: lstm() received an invalid combination of arguments: https://blog.csdn.net/yhoon0101/article/details/131649166
修改代码为:(line 37 in train.py)
parser.add_argument('--bidirectional', default=True, type=bool, help='Whether use bidirectional LSTM')
RuntimeError: ‘lengths‘ argument should be a 1D CPU int64 tensor, but got 1D cuda:0 Long tensor: https://blog.csdn.net/weixin_45084253/article/details/122269699
修改代码为:(line 179 in solver.py)
estimate_source = self.model(padded_mixture, mixture_lengths.to("cpu"))
TypeError: lstm() received an invalid combination of arguments:
https://blog.csdn.net/yhoon0101/article/details/131649166
修改代码为:(line 37 in train.py)
parser.add_argument('--bidirectional', default=True, type=bool, help='Whether use bidirectional LSTM')
RuntimeError: ‘lengths‘ argument should be a 1D CPU int64 tensor, but got 1D cuda:0 Long tensor:
https://blog.csdn.net/weixin_45084253/article/details/122269699
修改代码为:(line 179 in solver.py)
estimate_source = self.model(padded_mixture, mixture_lengths.to("cpu"))
我升级为高版本torch是因为遇到runtimeerror: cudnn error: cudnn_status_mapping_error错误,我的原因是因为torch版本和cuda版本不太兼容
The text was updated successfully, but these errors were encountered: