We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Aritra Ghosh created the following fix to the source-code of autocrop.py to allow it to run on machines without a GPU!
autocrop.py
Code: model.load_state_dict(torch.load(model_path,map_location=torch.device(device)))
model.load_state_dict(torch.load(model_path,map_location=torch.device(device)))
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Aritra Ghosh created the following fix to the source-code of
autocrop.py
to allow it to run on machines without a GPU!Code:
model.load_state_dict(torch.load(model_path,map_location=torch.device(device)))
The text was updated successfully, but these errors were encountered: