質問編集履歴
3
タグの改善
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
2
リンクに移動しやすくしました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
[下記のgithubのリンク](https://github.com/pytry3g/pytorch-example/tree/master/nlp/rnn/wikipedia)
|
1
2
|
https://github.com/pytry3g/pytorch-example/tree/master/nlp/rnn/wikipedia
|
2
3
|
上記githubのtest_model.pyとtrain.pyを実行すると、共に、
|
3
4
|
以下のエラーが出てしまいます。
|
@@ -13,6 +14,7 @@
|
|
13
14
|
stdv = 1. / math.sqrt(self.weight.size(1))
|
14
15
|
RuntimeError: Dimension out of range (expected to be in range of [-1, 0], but got 1)
|
15
16
|
|
17
|
+
本当に困っています。
|
16
18
|
何卒、よろしくお願い致します。
|
17
19
|
|
18
20
|
#環境
|
1
タグの変更
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|