Skip to content

minor fix for running inference.py on cpu#62

Open
amrear wants to merge 1 commit intoyrcong:mainfrom
amrear:main
Open

minor fix for running inference.py on cpu#62
amrear wants to merge 1 commit intoyrcong:mainfrom
amrear:main

Conversation

@amrear
Copy link
Copy Markdown

@amrear amrear commented Aug 20, 2024

It seems like map_location=torch.device('cpu') should be passed to torch.load when using cpu.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant