-
Notifications
You must be signed in to change notification settings - Fork 153
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
ValueError: No op named GatherV2 in defined operations #1
Comments
Thanks for pointing this out! I'm using Tensorflow 1.8.0 (the latest version). Looks like the GatherV2 op was added in Tensorflow 1.3, so any version older than that is guaranteed not to work. |
Thank you for your reply, |
I've never trained a Chinese model, but you're welcome to try! You may need to modify the I'm going to look into releasing multilingual parsing models, but Chinese will require extra time to familiarize myself with the standard conventions and models for Chinese parsing and tokenization. The main issue is that Chinese tokenization is very different from English, and I don't know whether it's empirically better to rely on external tools or to just train the parser itself to split sequences of characters into words. Let me know if you train any models and have any results! |
Thank you very much。I will try. |
Hi, |
To use both word embeddings and a character LSTM at the same time, you can pass both options: I wouldn't recommend using |
Thankyou for your help,but I meet another question. how to fix this error,my train command is "python src/main.py train --model-path-base models/en_charlstm --train-path datacn/train.cn.txt --dev-path datacn/dev.cn.txt --use-words |
What happens if you disable The code is not set up to deal with empty parse trees: there needs to be at least one label above the part-of-speech tag level. The English treebank annotates single-word fragments as FRAG, but for treebanks that don't do this the simplest fix is to keep the root node. |
Thankyou very much. |
Hi, |
For English, training can take 80-100 epochs, but its somewhat language-dependent. There is a "reducing learning rate" message printed whenever the learning rate is decayed due to no progress on the dev set. After it gets printed 2-3 times training is essentially done. |
I updated the README to include a tensorflow version dependency, so the original issue should now be addressed. I'm closing this, but feel free to comment or open another if you have any more questions/bugs. |
hello,I want to run ' parser = benepar.Parser("benepar_en")', but it raise the error like this "ValueError: No op named GatherV2 in defined operations". could you tell me your python version and tensorflow-gpu version and cudnn version. I don't know how to fix this error . thank you very much.
The text was updated successfully, but these errors were encountered: