Skip to content
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

ImportError: cannot import name inplace_increment #15

Open
SeekPoint opened this issue Dec 10, 2018 · 3 comments
Open

ImportError: cannot import name inplace_increment #15

SeekPoint opened this issue Dec 10, 2018 · 3 comments

Comments

@SeekPoint
Copy link

(.venv) ub16hp@UB16HP:/ub16_prj/deep_srl$ bash scripts/run_train.sh 0
Traceback (most recent call last):
File "python/train.py", line 4, in
from neural_srl.theano.tagger import BiLSTMTaggerModel
File "/home/ub16hp/ub16_prj/deep_srl/python/neural_srl/theano/tagger.py", line 1, in
from optimizer import *
File "/home/ub16hp/ub16_prj/deep_srl/python/neural_srl/theano/optimizer.py", line 2, in
import theano
File "/home/ub16hp/ub16_prj/deep_srl/.venv/local/lib/python2.7/site-packages/theano/init.py", line 80, in
from theano.scan_module import (scan, map, reduce, foldl, foldr, clone,
File "/home/ub16hp/ub16_prj/deep_srl/.venv/local/lib/python2.7/site-packages/theano/scan_module/init.py", line 41, in
from theano.scan_module import scan_opt
File "/home/ub16hp/ub16_prj/deep_srl/.venv/local/lib/python2.7/site-packages/theano/scan_module/scan_opt.py", line 60, in
from theano import tensor, scalar
File "/home/ub16hp/ub16_prj/deep_srl/.venv/local/lib/python2.7/site-packages/theano/tensor/init.py", line 9, in
from theano.tensor.subtensor import *
File "/home/ub16hp/ub16_prj/deep_srl/.venv/local/lib/python2.7/site-packages/theano/tensor/subtensor.py", line 27, in
from cutils_ext.cutils_ext import inplace_increment
ImportError: cannot import name inplace_increment
(.venv) ub16hp@UB16HP:
/ub16_prj/deep_srl$

@A-lexsal
Copy link

Hello!Did you run it successfully?

@SeekPoint
Copy link
Author

not yet

@A-lexsal
Copy link

I ran a simple example with her model, but I can't get the conll2005 dataset. Maybe your environment is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants