Skip to content

How to deal with multi-channel across different data sets? #94

@brando90

Description

@brando90

Hi,

I was curious, how do you deal when one data set has 3 channels (imagenet) but others have 1 (omniglot)?

I've seen others do:

    transform = transforms.Compose([
        lambda x: x.convert("RGB"),
        transforms.Resize(224),
        transforms.ToTensor(),
    ])

in pytorch. Is that what you do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions