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
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?