質問編集履歴
2
個人情報の削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,11 +30,11 @@
|
|
30
30
|
|
31
31
|
model.load_state_dict(state_dict)
|
32
32
|
|
33
|
-
File "C:\Users\
|
33
|
+
File "C:\Users\Anaconda3\envs\FusionNet\lib\site-packages\torch\nn\modules\module.py", line 803, in load_state_dict
|
34
34
|
|
35
35
|
state_dict = state_dict.copy()
|
36
36
|
|
37
|
-
File "C:\Users\
|
37
|
+
File "C:\Users\Anaconda3\envs\FusionNet\lib\site-packages\torch\nn\modules\module.py", line 576, in __getattr__
|
38
38
|
|
39
39
|
type(self).__name__, name))
|
40
40
|
|
1
エラー分の全文を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -23,6 +23,20 @@
|
|
23
23
|
### 発生している問題・エラーメッセージ
|
24
24
|
|
25
25
|
|
26
|
+
|
27
|
+
Traceback (most recent call last):
|
28
|
+
|
29
|
+
File "visu.py", line 17, in <module>
|
30
|
+
|
31
|
+
model.load_state_dict(state_dict)
|
32
|
+
|
33
|
+
File "C:\Users\pvju5kmj\Anaconda3\envs\FusionNet\lib\site-packages\torch\nn\modules\module.py", line 803, in load_state_dict
|
34
|
+
|
35
|
+
state_dict = state_dict.copy()
|
36
|
+
|
37
|
+
File "C:\Users\pvju5kmj\Anaconda3\envs\FusionNet\lib\site-packages\torch\nn\modules\module.py", line 576, in __getattr__
|
38
|
+
|
39
|
+
type(self).__name__, name))
|
26
40
|
|
27
41
|
AttributeError: 'DataParallel' object has no attribute 'copy'
|
28
42
|
|