質問編集履歴
2
分野
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
コード
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
trainerをrunさせたい
|
9
9
|
|
10
10
|
### 発生している問題・エラーメッセージ
|
11
|
-
|
11
|
+
```
|
12
12
|
Exception in main training loop: 'NN' object has no attribute 'forward'
|
13
13
|
Traceback (most recent call last):
|
14
14
|
File "/usr/local/lib/python3.7/dist-packages/chainer/training/trainer.py", line 343, in run
|
@@ -22,7 +22,7 @@
|
|
22
22
|
File "/usr/local/lib/python3.7/dist-packages/chainer/link.py", line 286, in __call__
|
23
23
|
forward = self.forward # type: ignore
|
24
24
|
Will finalize trainer extensions and updater before reraising the exception.
|
25
|
-
|
25
|
+
```
|
26
26
|
### 該当のソースコード
|
27
27
|
|
28
28
|
```python
|