RuntimeError: Given groups=1, weight of size 32 6 3 3, expected input[8, 3, 336, 336] to have 6 channels, but got 3 channels instead
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 390
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
when i try to train using 6 channel i get this error : RuntimeError: Given groups=1, weight of size 32 6 3 3, expected input[8, 3, 336, 336] to have 6 channels, but got 3 channels instead
code is exactly same as this : https://github.com/lyft/nuscenes-devkit/blob/master/notebooks/Reference%20Model.ipynb
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Reference Model notebook linked in the issue and reproduce the training run that reports the channel mismatch. Trace the input preparation and model entry point to determine why the batch has three channels instead of six; done means six-channel training reaches the next stage without this RuntimeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python, pytorch
- Domain
- computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100