bi-att-flow icon indicating copy to clipboard operation
bi-att-flow copied to clipboard

Some parameters are undefined

Open guifaChild opened this issue 5 years ago • 1 comments

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]")

guifaChild avatar Jun 06 '19 12:06 guifaChild

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.

haloooooo avatar Nov 08 '19 12:11 haloooooo