Skip to content

UniTS model hard-coded "cuda:0" when loading pretrain weights #23

Description

ckpt = torch.load(pretrain_weight_path, map_location='cuda:0')

This should be made more robust to support various devices.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions