Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Error message for Correlation not very helpful.

Open
#421 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
julia

Research direction

Start by reproducing the shown MXNet.jl Correlation call with the two reshaped arrays, then trace the Correlation implementation and the source of the reported dimension check. Done means determining whether the input or settings are invalid and, if this is an error-reporting issue, documenting the expected explanation or a clearer failure.

Written by the indexing model from the issue text.

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?

Dominant language
No language data
Stars
370
Forks
63
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dmlc/MXNet.jl

All issues in dmlc/MXNet.jl

Similar issues

More Machine Learning issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.