bi-att-flow
bi-att-flow copied to clipboard
absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'new_emb_mat'
I am trying to get the repo working in TF1.7. I was able to get the training done with the help of dev branch for TF 1.4. But I failed in testing. If I set it flags.DEFINE_integer("new_emb_mat", 0, "embedding matrix"), I got result F1 0.74 and accuracy 0.629. Is it normal? What value should we pass to new_emb_mat?
The error I got originally was :
Traceback (most recent call last):
File "/anaconda/envs/py35/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/anaconda/envs/py35/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/adminye/bi-att-flow/basic/cli.py", line 128, in
flags.DEFINE_integer("new_emb_mat", 0, "new_emb_mat")
flags.DEFINE_integer("new_emb_mat", 0, "new_emb_mat")
He asked What value should we pass to new_emb_mat?