Skip to content

Given groups=1, weight of size [16, 3, 5, 5], expected input [8, 1, 200, 256] to have 3 channels, but got 1 channel instead #4

@JIEyuUUU0818

Description

@JIEyuUUU0818

Hello author, when I am training the model using the "python train_GoPro. py -- rgb False -- savepath Model/RE-Net_GRAY. pth" command I encounter a Runtime Error: Given groups=1, weight of size [16, 3, 5, 5], expected input [8, 1, 200, 256] to have 3 channels, but got 1 channel instead. How can I correct this error?Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions