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

how to solve the lib reimplement for minibatch size >1 error? #109

Open
ygren opened this issue Mar 20, 2018 · 0 comments
Open

how to solve the lib reimplement for minibatch size >1 error? #109

ygren opened this issue Mar 20, 2018 · 0 comments

Comments

@ygren
Copy link

ygren commented Mar 20, 2018

hello,
This project implements end to end training with minibatch = 1,it takes up about 4G~5G GPU resources .but my single GPU resources is 24G, and my dataset is about 250k images. It's very wasteful.I try to reimplement the lib with this repo [https://github.com/ice-pice/py-faster-rcnn] , but this implementation is for Faster RCNN python version. I have checked your commit history,the error occurred when you added TRAINAGNOSTIC operation.
Traceback (most recent call last): File "./tools/train_net.py", line 112, in <module> max_iters=args.max_iters) File "/home/ryg/FV/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 157, in train_net pretrained_model=pretrained_model) File "/home/ryg/FV/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 43, in __init__ self.solver = caffe.SGDSolver(solver_prototxt) File "/home/ryg/FV/py-R-FCN/tools/../lib/roi_data_layer/layer.py", line 130, in setup top[idx].reshape(1) IndexError: Index out of range
why the blob index out of range.
Thanks and looking forward to 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

1 participant