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 problem of the index beyond the matrix dimension? #12

Open
Ancient4 opened this issue Nov 30, 2017 · 3 comments
Open

Comments

@Ancient4
Copy link

Excuse me
I tried using 10 or 200 or 300 pictures, found that the use of too few pictures or too many pictures will have this problem. I would like to ask you, how to solve this?

@layumi
Copy link
Owner

layumi commented Nov 30, 2017

@Ancient4
Did you change any code?
Or did you apply the code to the other datasets?

@Ancient4
Copy link
Author

First,I chose some pictures from the Market1501 dataset.
Second,I change the code from the prepare.m.Because, when I run the code an error occurred. I found that in line 31, s should be a positive integer, so I removed "-1".

@layumi
Copy link
Owner

layumi commented Nov 30, 2017

You also need to change the fc channel from 751 to 702.
You may check the baseline code in:
https://github.com/layumi/DukeMTMC-reID_baseline

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