lxtGH / lxtGH/OctaveConv_pytorch

there is a problem in "upsample"

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

Nobody has claimed this yet.

Dominant language
Python
Stars
581
Forks
83
PR merge metrics
No merged PRs in 30d

Description

```
X_h = X_l2h + X_h2h
RuntimeError: The size of tensor a (6) must match the size of tensor b (7) at non-singleton dimension 3
```
because X_l comes from X_h throgh AvgPooling , when H×W=7×7, the output is 3×3.Through upsample, the result is 6×6, not 7×7

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Locate the upsample operation and the pooling path that produces the low-resolution tensor, then reproduce the issue with a 7×7 input. Verify that the upsampled tensor matches the high-resolution tensor dimensions and that the addition no longer raises the reported runtime error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.