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

ROI pooling examples issues #20

Open
qalid7 opened this issue Mar 15, 2018 · 2 comments
Open

ROI pooling examples issues #20

qalid7 opened this issue Mar 15, 2018 · 2 comments

Comments

@qalid7
Copy link

qalid7 commented Mar 15, 2018

Hello people

thanks for sharing this and providing the examples.

I've the test_spp file running without any issues (i.e. it prints the final message) but I get errors in the test_roi_pooling, the basic one being related to line 55:
X_curr = X_img[0, X_roi[0, roi, 0]:X_roi[0, roi, 2], X_roi[0, roi, 1]:X_roi[0, roi, 3], :] TypeError: slice indices must be integers or None or have an __index__ method

I tried manually changing the initials to different settings but can't get really get it working, or get my head around it. Given the first test is successful, I thought this might be a common issue?

Btw, I get the exact same error when running the other roi test: test_roi_pooling_conv, at line 59:

X_roi[0, roi, 0]:X_roi[0, roi, 0] + X_roi[0, roi, 2], :] TypeError: slice indices must be integers or None or have an __index__ method

.. which makes me believe there is a typo or something?

@jingweimo
Copy link

Any progress on the issue? I encountered the same issues above

@jingweimo
Copy link

I used anaconda with python 3.5 environment, keras 2.2 and theano 1.02.

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

2 participants