-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnrecognizedFlagError!! #1
Comments
python src/main.py build_data |
thx, but missing embed300.trim.npy? |
I am also trying to find solutions to solve this problem... |
is the embed300.trim.npy a word2vec? |
|
you can use |
thank u very much. i would like to try to change the data-set to a Chinese data-set, a lot of work to do! |
@wangzhihuia @FrankWork I tried the both commands below:
I still got the following error: Could you help me? Thank you! Solved
|
I remove all the flags.DEFINE in util.py, and it works. Maybe it is because only one file can has flags? |
Hi, I tried every the method above. I still got the ps. I have also tried the exactly what author said in the readme but its not working. |
plz give the full error and Traceback |
Hi, how can I use a Chinese data set? How to train the file "embed300.trim.npy" |
.npy file is actually a numpy type file, once u traind a 300d word embedding u can save it to a numpy type by using np.save() but more suggest that u use gensim. |
Traceback (most recent call last):
File "src/main.py", line 7, in
from inputs import util
File "/home/young/Downloads/fudan_mtl_reviews-master/src/inputs/util.py", line 50, in
def write_vocab(vocab, vocab_file=FLAGS.vocab_file):
File "/home/young/Downloads/ENTER/envs/deeplearning/lib/python3.5/site-packages/tensorflow/python/platform/flags.py", line 84, in getattr
wrapped(_sys.argv)
File "/home/young/Downloads/ENTER/envs/deeplearning/lib/python3.5/site-packages/absl/flags/_flagvalues.py", line 630, in call
name, value, suggestions=suggestions)
absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'build_data'
any idea how to fix it?
The text was updated successfully, but these errors were encountered: