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

Important fix for cpu usage in adet/modeling/attn_predictor.py #5

Open
doanthuyennt opened this issue Sep 21, 2021 · 0 comments
Open

Comments

@doanthuyennt
Copy link

Hello again Mr author,
There is a bug I came a cross when I use only cpu for predicting,
image
What my approach was to change every to.("cuda") in to to(rois.device) ## Since I want to be consistent with your code anyway.
image
After that, run python setup.py install -v again ... and voila it worked!
image

Tks for reading this.

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