Skip to content

Commit 318b8ac

Browse files
committed
chainer/bilstm-tagger-withchar.py gpu bug fix
1 parent 14b75c5 commit 318b8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chainer/bilstm-tagger-withchar.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def tag_sent(self, words):
155155

156156
tagger = Tagger()
157157

158-
if chainer_gpu >= 0:
158+
if args.chainer_gpu >= 0:
159159
tagger.to_gpu()
160160

161161
trainer = O.Adam()

0 commit comments

Comments
 (0)