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

Attribute Error #39

Closed
shwoo93 opened this issue Apr 21, 2018 · 2 comments
Closed

Attribute Error #39

shwoo93 opened this issue Apr 21, 2018 · 2 comments

Comments

@shwoo93
Copy link

shwoo93 commented Apr 21, 2018

Hello

Thanks for your kind code sharing.
I have one problem while using your code.

I defined input variable and encoding layer as below.

X = Variable(torch.cuda.DoubleTensor(B,C,H,W).uniform_(-0.5,0.5), requires_grad=True)
layer = encoding.Encoding(C,K).double().cuda()

However, I receive an error when I attempt to forward the input.

E = layer(X)
AttributeError: module 'encoding._ext.encoding_lib' has no attribute 'Encoding_Double_scaledl2_forward'

Any suggestions?

Thanks

@zhanghang1989
Copy link
Owner

This looks like a library linking error. I couldn't reproduce this. Could you please let me know the system setup?

@shwoo93
Copy link
Author

shwoo93 commented Apr 22, 2018

I resolved this issue by reinstalling. Thanks.

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

2 participants