Open newforrestgump001 opened 4 years ago
I0310 13:43:27.631085 15354 net.cpp:774] Copying source layer res5c I0310 13:43:27.631091 15354 net.cpp:774] Copying source layer res5c_relu I0310 13:43:27.631095 15354 net.cpp:771] Ignoring source layer pool5 I0310 13:43:27.631100 15354 net.cpp:771] Ignoring source layer fc1000 I0310 13:43:27.631104 15354 net.cpp:771] Ignoring source layer prob Solving... Traceback (most recent call last): File "./tools/train_net.py", line 112, in max_iters=args.max_iters) File "/home2/opensource/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 205, in train_net model_paths = sw.train_model(max_iters) File "/home2/opensource/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 146, in train_model self.solver.step(1) File "/home2/opensource/py-R-FCN/tools/../lib/rpn/proposal_target_layer.py", line 66, in forward rois_per_image, self._num_classes) File "/home2/opensource/py-R-FCN/tools/../lib/rpn/proposal_target_layer.py", line 214, in _sample_rois _get_bbox_regression_labels(bbox_target_data, num_classes) File "/home2/opensource/py-R-FCN/tools/../lib/rpn/proposal_target_layer.py", line 146, in _get_bbox_regression_labels bbox_targets[ind, start:end] = bbox_target_data[ind, 1:] TypeError: slice indices must be integers or None or have an index method
I0310 13:43:27.631085 15354 net.cpp:774] Copying source layer res5c I0310 13:43:27.631091 15354 net.cpp:774] Copying source layer res5c_relu I0310 13:43:27.631095 15354 net.cpp:771] Ignoring source layer pool5 I0310 13:43:27.631100 15354 net.cpp:771] Ignoring source layer fc1000 I0310 13:43:27.631104 15354 net.cpp:771] Ignoring source layer prob Solving... Traceback (most recent call last): File "./tools/train_net.py", line 112, in
max_iters=args.max_iters)
File "/home2/opensource/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 205, in train_net
model_paths = sw.train_model(max_iters)
File "/home2/opensource/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 146, in train_model
self.solver.step(1)
File "/home2/opensource/py-R-FCN/tools/../lib/rpn/proposal_target_layer.py", line 66, in forward
rois_per_image, self._num_classes)
File "/home2/opensource/py-R-FCN/tools/../lib/rpn/proposal_target_layer.py", line 214, in _sample_rois
_get_bbox_regression_labels(bbox_target_data, num_classes)
File "/home2/opensource/py-R-FCN/tools/../lib/rpn/proposal_target_layer.py", line 146, in _get_bbox_regression_labels
bbox_targets[ind, start:end] = bbox_target_data[ind, 1:]
TypeError: slice indices must be integers or None or have an index method