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 in virtual env #35

Open
MMOSX opened this issue Jul 9, 2019 · 1 comment
Open

Error in virtual env #35

MMOSX opened this issue Jul 9, 2019 · 1 comment

Comments

@MMOSX
Copy link

MMOSX commented Jul 9, 2019

No description provided.

@MMOSX
Copy link
Author

MMOSX commented Jul 9, 2019

Sorry, the issue was automatically generated without text.
If I try to use virtual env configurated with the requirements I obtain this error, every I try to use the testing phase or the train phase the error is the same:
Traceback (most recent call last):
File "main.py", line 73, in
m = Model(input=[x, x_maps], output=sam_resnet([x, x_maps]))
File "/media/vrai/Data/eyeTracking/sam-master/models.py", line 130, in sam_resnet
dcn = dcn_resnet(input_tensor=x[0])
File "/media/vrai/Data/eyeTracking/sam-master/dcn_resnet.py", line 137, in dcn_resnet
x = Convolution2D(64, 7, 7, subsample=(2, 2), name='conv1')(x)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/keras/engine/topology.py", line 514, in call
self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/keras/engine/topology.py", line 572, in add_inbound_node
Node.create_node(self, inbound_layers, node_indices, tensor_indices)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/keras/engine/topology.py", line 149, in create_node
output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/keras/layers/convolutional.py", line 466, in call
filter_shape=self.W_shape)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 1125, in conv2d
np_kernel = kernel.eval()
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/graph.py", line 516, in eval
self.fn_cache[inputs] = theano.function(inputs, self)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/compile/function.py", line 326, in function
output_keys=output_keys)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 486, in pfunc
output_keys=output_keys)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/compile/function_module.py", line 1795, in orig_function
defaults)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/compile/function_module.py", line 1661, in create
input_storage=input_storage_lists, storage_map=storage_map)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/link.py", line 699, in make_thunk
storage_map=storage_map)[:3]
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/vm.py", line 1047, in make_all
impl=impl))
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/op.py", line 935, in make_thunk
no_recycling)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/op.py", line 839, in make_c_thunk
output_storage=node_output_storage)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/cc.py", line 1190, in make_thunk
keep_lock=keep_lock)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/cc.py", line 1131, in compile
keep_lock=keep_lock)
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/cc.py", line 1575, in cthunk_factory
key = self.cmodule_key()
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/cc.py", line 1271, in cmodule_key
c_compiler=self.c_compiler(),
File "/media/vrai/Data/eyeTracking/lstmEnv/local/lib/python2.7/site-packages/theano/gof/cc.py", line 1350, in cmodule_key

np.core.multiarray._get_ndarray_c_version())
AttributeError: ('The following error happened while compiling the node', DeepCopyOp(conv1_W), '\n', "'module' object has no attribute '_get_ndarray_c_version'")

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