往上翻发现提示
File "D:\Program Files\miniconda3\envs\pyt\lib\site-packages\torch\nn\modules\module.py", line 1072, in train
module.train(mode)
[Previous line repeated 990 more times]
File "D:\Program Files\miniconda3\envs\pyt\lib\site-packages\torch\nn\modules\module.py", line 1070, in train
self.training = mode
File "D:\Program Files\miniconda3\envs\pyt\lib\site-packages\torch\nn\modules\rnn.py", line 97, in setattr
super(RNNBase, self).setattr(attr, value)
File "D:\Program Files\miniconda3\envs\pyt\lib\site-packages\torch\nn\modules\module.py", line 602, in setattr
params = self.dict.get('_parameters')
RecursionError: maximum recursion depth exceeded while calling a Python object
往上翻发现提示 File "D:\Program Files\miniconda3\envs\pyt\lib\site-packages\torch\nn\modules\module.py", line 1072, in train module.train(mode) [Previous line repeated 990 more times] File "D:\Program Files\miniconda3\envs\pyt\lib\site-packages\torch\nn\modules\module.py", line 1070, in train self.training = mode File "D:\Program Files\miniconda3\envs\pyt\lib\site-packages\torch\nn\modules\rnn.py", line 97, in setattr super(RNNBase, self).setattr(attr, value) File "D:\Program Files\miniconda3\envs\pyt\lib\site-packages\torch\nn\modules\module.py", line 602, in setattr params = self.dict.get('_parameters') RecursionError: maximum recursion depth exceeded while calling a Python object