dmlc / dmlc/MXNet.jl

Error message for Correlation not very helpful.

Open
#421 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
369
Forks
63
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.