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

Error while running endtoend.sh and its taking too long on big dataset #22

Open
Nasidiqi opened this issue Apr 17, 2019 · 0 comments
Open

Comments

@Nasidiqi
Copy link

Nasidiqi commented Apr 17, 2019

i am recieving these error and model is taking approx. 4 hours to complete one iteration

RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
Traceback (most recent call last):
File "python/predict.py", line 20, in
from neural_srl.theano.tagger import BiLSTMTaggerModel
File "/home/ubuntu/deep_srl-master/python/neural_srl/theano/tagger.py", line 1, in
from optimizer import *
File "/home/ubuntu/deep_srl-master/python/neural_srl/theano/optimizer.py", line 2, in
import theano
File "/home/ubuntu/.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/ubuntu/.local/lib/python2.7/site-packages/theano/scan_module/init.py", line 41, in
from theano.scan_module import scan_opt
File "/home/ubuntu/.local/lib/python2.7/site-packages/theano/scan_module/scan_opt.py", line 60, in
from theano import tensor, scalar
File "/home/ubuntu/.local/lib/python2.7/site-packages/theano/tensor/init.py", line 9, in
from theano.tensor.subtensor import *
File "/home/ubuntu/.local/lib/python2.7/site-packages/theano/tensor/subtensor.py", line 26, in
import theano.gof.cutils # needed to import cutils_ext
File "/home/ubuntu/.local/lib/python2.7/site-packages/theano/gof/cutils.py", line 320, in
compile_cutils()
File "/home/ubuntu/.local/lib/python2.7/site-packages/theano/gof/cutils.py", line 285, in compile_cutils
preargs=args)
File "/home/ubuntu/.local/lib/python2.7/site-packages/theano/gof/cmodule.py", line 2325, in compile_str
return dlimport(lib_filename)
File "/home/ubuntu/.local/lib/python2.7/site-packages/theano/gof/cmodule.py", line 302, in dlimport
rval = import(module_name, {}, {}, [module_name])
ImportError: numpy.core.multiarray failed to import
Using an ensemble of 5 models
Task: srl
Allow new words in test data: True
Embedding size=100
Read 295330 sentences.
Data loading duration was 0:00:28.
Using 2 feature types, projected output dim=200.
('lstm_0_rdrop', 0.1, True)
<neural_srl.theano.layer.HighwayLSTMLayer object at 0x7faa8ec34110>
('lstm_1_rdrop', 0.1, True)
<neural_srl.theano.layer.HighwayLSTMLayer object at 0x7faadb29fb10>
('lstm_2_rdrop', 0.1, True)
<neural_srl.theano.layer.HighwayLSTMLayer object at 0x7faadb29ffd0>
('lstm_3_rdrop', 0.1, True)
<neural_srl.theano.layer.HighwayLSTMLayer object at 0x7faab2ea9a50>
('lstm_4_rdrop', 0.1, True)
<neural_srl.theano.layer.HighwayLSTMLayer object at 0x7faab2ea9f10>
('lstm_5_rdrop', 0.1, True)
<neural_srl.theano.layer.HighwayLSTMLayer object at 0x7faab2ea9290>
('lstm_6_rdrop', 0.1, True)
<neural_srl.theano.layer.HighwayLSTMLayer object at 0x7faa8ebd4650>
('lstm_7_rdrop', 0.1, True)
<neural_srl.theano.layer.HighwayLSTMLayer object at 0x7faa8ebd4b10>
47031 32056
47031 2

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

1 participant