Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Some problems about MXNetError #21

Open
Naturallyyeyeye opened this issue Jul 19, 2020 · 2 comments
Open

Some problems about MXNetError #21

Naturallyyeyeye opened this issue Jul 19, 2020 · 2 comments

Comments

@Naturallyyeyeye
Copy link

Hi,
When I run the main.py with "MaskFlownet_S_sintel.yaml --dataset_cfg sintel_kitti2015_hd1k.yaml -g 0 -c dbbSep30-1206 --clear_steps", i got the error like below:
Traceback (most recent call last):
File "/MaskFlownet-master/main.py", line 537, in
train_log = pipe.train_batch(img1, img2, flow, geo_aug, color_aug, mask = mask)
File "/MaskFlownet-master/network/pipeline.py", line 101, in train_batch
img1s, img2s, labels, masks = geo_aug(img1s, img2s, labels, masks)
File "/anaconda3/envs/maskflownet2/lib/python3.6/site-packages/mxnet/gluon/block.py", line 548, in call
out = self.forward(*args)
File "/anaconda3/envs/maskflownet2/lib/python3.6/site-packages/mxnet/gluon/block.py", line 915, in forward
return self._call_cached_op(x, *args)
File "/anaconda3/envs/maskflownet2/lib/python3.6/site-packages/mxnet/gluon/block.py", line 821, in _call_cached_op
out = self._cached_op(*cargs)
File "/anaconda3/envs/maskflownet2/lib/python3.6/site-packages/mxnet/_ctypes/ndarray.py", line 150, in call
ctypes.byref(out_stypes)))
File "/anaconda3/envs/maskflownet2/lib/python3.6/site-packages/mxnet/base.py", line 253, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: Error in operator geometryaugmentation0_bilinearsampler0: [14:00:56] src/operator/./bilinear_sampler-inl.h:158: Check failed: dshape[0] == lshape[0] (1 vs. 4) :
Can I ask for a help? Thank you very much in advance.

@simon1727
Copy link
Contributor

Hi Naturallyyeyeye, thanks for your interest in our work.

I have never met this problem. What's your MXNet version?

@Naturallyyeyeye
Copy link
Author

Hi Naturallyyeyeye, thanks for your interest in our work.

I have never met this problem. What's your MXNet version?

I install mxnet with the code in terminal as follows:pip install mxnet-cu101==1.5 -i https://pypi.tuna.tsinghua.edu.cn/simple.

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

No branches or pull requests

2 participants