bi-att-flow
bi-att-flow copied to clipboard
Some parameters are undefined
When I run the code,I found that some parameters were missing. I added some parameters How appropriate is the default setting of parameters?
flags.DEFINE_string("out_dir", "", "Shared path []") flags.DEFINE_string("save_dir", "", "Shared path []") flags.DEFINE_string("log_dir", "", "Shared path []") flags.DEFINE_string("eval_dir", "", "Shared path []") flags.DEFINE_string("answer_dir", "", "Shared path []") flags.DEFINE_integer("max_num_sents", 256, "para size th [256]") flags.DEFINE_integer("max_sent_size", 256, "para size th [256]") flags.DEFINE_integer("max_ques_size", 256, "para size th [256]") flags.DEFINE_integer("max_word_size", 256, "para size th [256]") flags.DEFINE_integer("max_para_size", 256, "para size th [256]") flags.DEFINE_integer("word_emb_size", 256, "para size th [256]") flags.DEFINE_integer("word_vocab_size", 256, "para size th [256]") flags.DEFINE_integer("max_para_size", 256, "para size th [256]") flags.DEFINE_integer("char_vocab_size", 256, "para size th [256]") flags.DEFINE_integer("emb_mat", 256, "para size th [256]")
I have ran into this problem while using Tensorflow 1.12, which is uncompatibale to the code. Pherhaps changing the version of Tensorflow may help.