question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

module 's2cnn.ops.gpu.lib_cufft' has no attribute 'destroy'

See original GitHub issue

This problem has been asked in issue 3, but I can’t fix it. After adding , encoding='utf-8', now the open() function in setup.py is like this: long_description=open(os.path.join(os.path.dirname(__file__), "README.md"), encoding='utf-8').read(),

Then after runing python setup.py install, the encoding issue : UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1264: ordinal not in range(128) is gone. But when I want to run the example of shrec17, the following problem still remains: module 's2cnn.ops.gpu.lib_cufft' has no attribute 'destroy'

I think may be the real problem occurs in the version of CUDA or pytorch. Here’s my system environment:

  • Python 3.6
  • CUDA 9.1.85
  • pytorch 0.4.0

Can you help me? Thanks a lot!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
zhixuanlicommented, May 2, 2018

@antigol Here’s a summarization of how to install the s2cnn: How did I install S2CNN. I recorded all the problems I encountered in it, and you may have to use the google translation because it’s written in Chinese😜

0reactions
zhixuanlicommented, May 2, 2018

I tried to reinstall for may be the sixth time, and it looks good now!

python main.py

main.py:38: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead. x = torch.autograd.Variable(torch.randn(1, 12, 128, 128), volatile=True).cuda() # [batch, feature, beta, alpha] relative error = 0.022134914994239807

But I have no idea why this time it works, everything is all the same to before😔

Read more comments on GitHub >

github_iconTop Results From Across the Web

module 's2cnn.ops.gpu.lib_cufft' has no attribute 'destroy' #5
module 's2cnn.ops.gpu.lib_cufft' has no attribute 'destroy'. I think may be the real problem occurs in the version of CUDA or pytorch.
Read more >
NoneType object has no Attribute 'destroy' bug in Python ...
NoneType object has no Attribute 'destroy' bug in Python when using Tkinter - Stack Overflow. Stack Overflow for Teams – Start collaborating ......
Read more >
tensorrt.tensorrt.Runtime object has no attribute "destroy"
It seems there was a change to the TensorRT Python API which no longer includes the destroy() method. Instead, object destruction is handled...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found