Open yuanyuansiyuan opened 6 years ago
python extract_pivots.py --train --test -s dvd -t electronics -v [] are just descriptions.
But i still get the same error.
I also met this error. When running: python train_hatn.py --train --test -s book -t dvd -v, an error "absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'train' " occurs. Could you please help to fix it? Many thanks.
Could you give me more information? Which line the error occurs in?
Here is the error info
Traceback (most recent call last):
File "extract_pivots.py", line 12, in
Could you give me more information? Which line the error occurs in? Here it is. File "train_hatn.py", line 15, in
File "/home/robin/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/flags.py", line 84, in getattr wrapped(_sys.argv) File "/home/robin/anaconda2/lib/python2.7/site-packages/absl/flags/_flagvalues.py", line 632, in call name, value, suggestions=suggestions) absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'train'
What's the version of Tensorflow?
tensorflow 1.10.1 tensorflow-gpu 1.4
i upgrade tensorflow to 1.4, its ok now. Thank you!
tensorflow 1.11.0
OK. I think the version is old.
Ok, I will upgrade it. Thanks.
While the version 1.11.0 is very new, much newer than 1.4.0. Because it is too new?
Maybe appropriate version is fine.
Hi, I meet another error when runing "python train_hatn.py --train --test -s books -t dvd -v". Could you please help check it, thanks.
Traceback (most recent call last):
File "train_hatn.py", line 141, in
change the "if self.word_mask != None" to "if self.word_mask is not None:". I just search web to find this answer.
It is work now. Many thanks.
when i use the commdand 'python extract_pivots.py --train --test -s dvd [source_domain] -t electronics [target_domain] -v [verbose]', this kind of command line lag unknown error occurs. Can you give some guide to fix it? Thank you!