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

resnet-50 with ohem error #19

Open
whmin opened this issue Nov 8, 2017 · 3 comments
Open

resnet-50 with ohem error #19

whmin opened this issue Nov 8, 2017 · 3 comments

Comments

@whmin
Copy link

whmin commented Nov 8, 2017

when i run ./experiments/scripts/faster_rcnn_end2end.sh 0 ResNet-50 pascal_voc,i got a error:
screenshot from 2017-11-08 21-08-43
i did not change the original code,but only replace the "num_classes" and "num_output", is there anyone can help me?Thank you very much!!! I am waiting here!

@liuliu66
Copy link

@whmin it seems that some indexes contain non-integers. you can check the error location in code and add int() to these indexes.
And where do you get the ResNet50 pre-trained model to implement it? I also want to try ResNet50 for my task. Thank you!

@quibbler123
Copy link

this error caused by numpy's version. try this modify in ./lib/roi_data_layer/layer.py

  • for x in [cls_prob[i, int(label)] for i, label in enumerate(labels)]]

@maozezhong
Copy link

@liuliu66 have you got the RetNet50 pre-trained model for faster-rcnn-ohem? hope for your reply~

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

4 participants