Skip to content

使用灰度图像报错 #28

Open
Open
@zhenglvv

Description

@zhenglvv

在使用unet模型的时候 将输入的通道改成1后,报错
RuntimeError: Given groups=1, weight of size [64, 1, 7, 7], expected input[8, 3, 256, 256] to have 1 channels, but got 3 channels instead
M )@0XTIC8MFCVG10OT`ME5

但是我的图像确实是但通道的 是我还需要修改某些地方吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions