deep_srl icon indicating copy to clipboard operation
deep_srl copied to clipboard

ImportError: cannot import name inplace_increment

Open SeekPoint opened this issue 6 years ago • 3 comments

(.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$

SeekPoint avatar Dec 10 '18 13:12 SeekPoint

Hello!Did you run it successfully?

A-lexsal avatar Dec 12 '18 08:12 A-lexsal

not yet

SeekPoint avatar Dec 12 '18 14:12 SeekPoint

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

A-lexsal avatar Dec 13 '18 04:12 A-lexsal