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

error when training lpo for bounding box performance #27

Open
vuptran opened this issue Oct 8, 2015 · 0 comments
Open

error when training lpo for bounding box performance #27

vuptran opened this issue Oct 8, 2015 · 0 comments

Comments

@vuptran
Copy link

vuptran commented Oct 8, 2015

When I tried to train LPO on the COCO dataset using the command:
python train_lpo.py ../models/lpo_COCO_0.02.dat -b -t -f0 0.02
I get the following error:
Traceback (most recent call last):
File "train_lpo.py", line 121, in
boxes = [proposals.Proposals(s,np.eye(np.max(s)+1).astype(bool)).toBoxes() for s in segmentations]
File "/home/anaconda/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 2135, in amax
out=out, keepdims=keepdims)
File "/home/anaconda/lib/python2.7/site-packages/numpy/core/_methods.py", line 26, in _amax
return umr_maximum(a, axis, None, out, keepdims)
ValueError: operands could not be broadcast together with shapes (10,2) (5,2)

Without the -b argument, I was able to successfully train LPO on the COCO dataset. I'm using Mac OS X 10.10.3.

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