Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #637 from shippingwang/fix-book-04
Browse files Browse the repository at this point in the history
fix 04 hard code
  • Loading branch information
luotao1 committed Oct 24, 2018
2 parents c666057 + b94b8b2 commit 90dfa57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 04.word2vec/train.py
Expand Up @@ -38,7 +38,7 @@
N = 5
BATCH_SIZE = 100

use_cuda = True # set to True if training with GPU
use_cuda = False # set to True if training with GPU

word_dict = paddle.dataset.imikolov.build_dict()
dict_size = len(word_dict)
Expand Down

0 comments on commit 90dfa57

Please sign in to comment.