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

AttributeError: module 'deepwave' has no attribute 'wavelets' #40

Closed
Minorway opened this issue Jan 26, 2022 · 4 comments
Closed

AttributeError: module 'deepwave' has no attribute 'wavelets' #40

Minorway opened this issue Jan 26, 2022 · 4 comments

Comments

@Minorway
Copy link

dear sir:
is this problem due to that i used lastest pytorch version?

@ar4
Copy link
Owner

ar4 commented Jan 26, 2022

Dear Minorway,

Thank you for reporting the issue that you encountered. New versions of PyTorch do sometimes cause problems. I have just updated to the most recent version (1.10.1) and Deepwave still worked on the test that I ran. Do you have an example code that causes this error?

@Minorway
Copy link
Author

Dear Minorway,

Thank you for reporting the issue that you encountered. New versions of PyTorch do sometimes cause problems. I have just updated to the most recent version (1.10.1) and Deepwave still worked on the test that I ran. Do you have an example code that causes this error?

Woo, so happy! I have solved this issue. I found that there were no deepwave packages available under pytorch with cuda. The only one can be installed was without wavelets.py etc . When I created a new environment(pytorch-cpu), it works.

@ar4
Copy link
Owner

ar4 commented Jan 26, 2022

That's great news, and I'm happy that you are happy. But does this mean that you have a CUDA-capable GPU but are not able to use Deepwave on it? It is much faster on a GPU, so it is worth the effort of trying to get it to work. I only tested with the new PyTorch version on a CPU so far. I will test it now on a GPU to see if I encounter a problem.

@ar4
Copy link
Owner

ar4 commented Jan 26, 2022

I installed and tested Deepwave on a Colaboratory GPU instance (with PyTorch 1.10) and it also ran without errors, so hopefully what you experienced is not a widespread problem. Do you wish to continue trying to diagnose the problem, or are you happy with your current Deepwave installation?

@ar4 ar4 closed this as completed Jun 5, 2022
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