Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you give me some hints to fix this issue? Thanks a lot! #126

Open
newforrestgump001 opened this issue Mar 10, 2020 · 0 comments
Open

Comments

@newforrestgump001
Copy link

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

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

No branches or pull requests

1 participant