Browse Source

Merge pull request #625 from legel/master

val_captions_file -> captions_val2014.json
Chris Shallue 9 năm trước cách đây
mục cha
commit
e5cae33030
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      im2txt/im2txt/data/build_mscoco_data.py

+ 1 - 1
im2txt/im2txt/data/build_mscoco_data.py

@@ -106,7 +106,7 @@ tf.flags.DEFINE_string("val_image_dir", "/tmp/val2014",
 
 tf.flags.DEFINE_string("train_captions_file", "/tmp/captions_train2014.json",
                        "Training captions JSON file.")
-tf.flags.DEFINE_string("val_captions_file", "/tmp/captions_train2014.json",
+tf.flags.DEFINE_string("val_captions_file", "/tmp/captions_val2014.json",
                        "Validation captions JSON file.")
 
 tf.flags.DEFINE_string("output_dir", "/tmp/", "Output data directory.")