Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the model in CPU #508

Open
akote123 opened this issue Aug 7, 2024 · 0 comments
Open

Run the model in CPU #508

akote123 opened this issue Aug 7, 2024 · 0 comments

Comments

@akote123
Copy link

akote123 commented Aug 7, 2024

I want to run the unet model in cpu. I have tried
net = torch.hub.load('milesial/Pytorch-UNet', 'unet_carvana', pretrained=True, scale=0.5)
But I am getting error as map this to cpu when I try to add mappings in torch.hub.load argument it says the argument is not there.
So how can I run this model in CPU for inference

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

No branches or pull requests

1 participant