Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Error in visualize_single_image.py #237

Open
devendraswamy opened this issue Dec 1, 2021 · 0 comments
Open

Error in visualize_single_image.py #237

devendraswamy opened this issue Dec 1, 2021 · 0 comments

Comments

@devendraswamy
Copy link

RuntimeError: module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cpu

I tried model = torch.load(model_path,map_location=torch.device('cpu')) and scores, classification, transformed_anchors = model(image.float())

but its not working , please help. Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant