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

Scoping issue in cnn_qp1_mpii.m #2

Open
Neilerino opened this issue Mar 24, 2020 · 0 comments
Open

Scoping issue in cnn_qp1_mpii.m #2

Neilerino opened this issue Mar 24, 2020 · 0 comments

Comments

@Neilerino
Copy link

Hey! I was interested in your project, so I tried training the model myself, and I found a very small scoping bug that might've come up from a new matlab version.

In cnn_qp1_mpii.m in the function getImageStats you try and access avg, rgbm1, rgbm2 out of the scope of the for loop. Very simple fix, you just have to declare the variables in that function before the for loop, so that they are in the functions main scope.
I can open the pull request if this actually an issue :)
Great job!

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