xiaolonw / adversarial-frcnn

A-Fast-RCNN (CVPR 2017)
Other
482 stars 168 forks source link

copy_model.h #5

Closed HandsLing closed 7 years ago

HandsLing commented 7 years ago

when i implement asdn on faster-rcnn,when i run ./copy_model.h,there comes this error: I0529 16:29:34.017501 8882 layer_factory.hpp:77] Creating layer data I0529 16:29:34.022382 8882 net.cpp:106] Creating Layer data I0529 16:29:34.022393 8882 net.cpp:411] data -> data I0529 16:29:34.022400 8882 net.cpp:411] data -> im_info I0529 16:29:34.022405 8882 net.cpp:411] data -> gt_boxes Traceback (most recent call last): File "python_utils/do_net_surgery.py", line 29, in net = caffe.Net(args.out_net_def, caffe.TEST) File "/home/keysen/lingck/py-faster-rcnn/python_utils/../lib/roi_data_layer/layer.py", line 134, in setup top[idx].reshape(1, self._num_classes * 4) IndexError: Index out of range

what should i do?