mahyarnajibi / SNIPER

SNIPER / AutoFocus is an efficient multi-scale object detection training / inference algorithm
Other
2.69k stars 449 forks source link

AttributeError: 'module' object has no attribute 'MultiProposal' #92

Open leidaguo opened 5 years ago

leidaguo commented 5 years ago

Traceback (most recent call last): File "demo.py", line 118, in main() File "demo.py", line 79, in main sym = sym_inst.get_symbol_rcnn(config, is_train=False) File "/home/shaoyidu/Program/guoleida/detection/SNIPER/symbols/faster/resnet_mx_101_e2e.py", line 327, in get_symbolrcnn rois, = mx.sym.MultiProposal(cls_prob=rpn_cls_prob_reshape, bbox_pred=rpn_bbox_pred, im_info=im_info, AttributeError: 'module' object has no attribute 'MultiProposal' How to solve it? Thanks

bfialkoff commented 5 years ago

Can we get some action here? I'm having the same issue.

bfialkoff commented 5 years ago

Did you manage to solve this?

bharatsingh430 commented 5 years ago

You should be using the right mxnet repo which has that operator. Its implemented over https://github.com/mahyarnajibi/SNIPER-mxnet/blob/master/src/operator/multi_proposal.cu

bfialkoff commented 5 years ago

I am using that repo....How exactly should i be using a .cu file?

wxianfeng commented 5 years ago

init.py file add sys.path.insert(0,'SNIPER-mxnet/python')

fixed