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

What's your version of pytorch, when you implement the ROI Align with numba? #1

Open
ywcmaike opened this issue Nov 8, 2019 · 0 comments

Comments

@ywcmaike
Copy link

ywcmaike commented Nov 8, 2019

What's your version of pytorch and numba, when you implement the ROI Align with numba?
Hello, I want to accelerate my code with numba using pytorch, and I found the example of ROI Align suit to me, and I want to learn your code, but encounter some issue. Just as followed.
[1] setattr(tensor, 'cuda_array_interface', cai_dict)
AttributeError: can't set attribute
or
[2] AttributeError: module 'numba' has no attribute 'as_cuda_array'
or AttributeError: module 'numba.cuda' has no attribute 'as_cuda_array'

my environment is as followed:

torch.version
'1.2.0'
import numba
numba.version
'0.46.0'

I hope to receive your reply.
What's your version of pytorch and numba, when you implement the ROI Align with numba?
@dandelin

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