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 message for Correlation not very helpful. #421

Open
Morpheu5 opened this issue Mar 6, 2018 · 0 comments
Open

Error message for Correlation not very helpful. #421

Morpheu5 opened this issue Mar 6, 2018 · 0 comments

Comments

@Morpheu5
Copy link

Morpheu5 commented Mar 6, 2018

It may be just me, but I'm trying to learn MXNet.jl by doing, given that I can't find many examples around. I have the following code

a = [1 2 3 4;
     4 3 2 1]
b = [4 3 2 1;
     1 2 3 4]
mx.Correlation(mx.NDArray(reshape(a, (1,1,2,4))), mx.NDArray(reshape(b, (1,1,2,4))))

that gives me this error:

Check failed: top_width_ >= 1U (0 vs. 1) Correlation cannot be done with current settings.Neighborhood and kernel don't fit in blob

I tried looking for that in the source code, but I struggle to extrapolate what that condition means. Can anyone shed some light on this?

@Morpheu5 Morpheu5 changed the title Error message for Correlation not very helpful. Error message for Correlation not very helpful. Mar 6, 2018
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