Skip to content

KeyError: 'channels' #12

@Boom5426

Description

@Boom5426

If I just want to use it in other field, what should I do?

import torch
model = torch.hub.load('insitro/ChannelViT', 'cpjump_cellpaint_channelvit_small_p8_with_hcs_supervised', pretrained=True)
model.eval()
images = torch.randn(5, 3, 224, 224)
out = model(images)

KeyError: 'channels'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions