Skip to content

Commit

Permalink
Merge pull request dennybritz#108 from joshkyh/patch-1
Browse files Browse the repository at this point in the history
Minor typo
  • Loading branch information
dennybritz authored Sep 23, 2017
2 parents 75bc078 + 9e70c24 commit 4ce1c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Data Parameters
tf.flags.DEFINE_string("positive_data_file", "./data/rt-polaritydata/rt-polarity.pos", "Data source for the positive data.")
tf.flags.DEFINE_string("negative_data_file", "./data/rt-polaritydata/rt-polarity.neg", "Data source for the positive data.")
tf.flags.DEFINE_string("negative_data_file", "./data/rt-polaritydata/rt-polarity.neg", "Data source for the negative data.")

# Eval Parameters
tf.flags.DEFINE_integer("batch_size", 64, "Batch Size (default: 64)")
Expand Down Expand Up @@ -92,4 +92,4 @@
out_path = os.path.join(FLAGS.checkpoint_dir, "..", "prediction.csv")
print("Saving evaluation to {0}".format(out_path))
with open(out_path, 'w') as f:
csv.writer(f).writerows(predictions_human_readable)
csv.writer(f).writerows(predictions_human_readable)

0 comments on commit 4ce1c30

Please sign in to comment.