Skip to content

Commit

Permalink
fix to nlp/evaluate
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumegenthial committed Feb 5, 2018
1 parent 06ab438 commit 47da9f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tensorflow/nlp/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
test_labels = load_dataset_from_text(path_eval_labels, tags)

# Specify other parameters for the dataset and the model
params.eval_size = params.test_size
params.id_pad_word = words.lookup(tf.constant(params.pad_word))
params.id_pad_tag = tags.lookup(tf.constant(params.pad_tag))

Expand Down

0 comments on commit 47da9f2

Please sign in to comment.