s2cnn
s2cnn copied to clipboard
Running MNIST Example Problems
Hello,
Thanks for the great work! I have some issues with getting this code to run, starting with the example given in the repository. Basically, when I try to do python run.py in the mnist folder, I get a bunch of different errors that I feel like I shouldn't have to fix in order for the code to work since this is the basic example. The first error is this:
Traceback (most recent call last):
File "run.py", line 257, in
If I try to fix this, by setting xx to a real tensor then I get a bunch of errors down the line. I was wondering if anyone had any advice with this.
I guess it's due to the fact that pytorch fft changed. Someone made recently a PR to call the new pytorch api functions but maybe it was not sufficient.
I don't maintain this code anymore... But I maintain this one and it might contains the functionalities that you need.
@kkokilep @mariogeiger In your MNIST example, running S2CNN encounters the following problem about lie_learn module.
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\Users\peng\anaconda3\envs\pytorch_1.8\lib\site-packages\lie_learn\representations\SO3\wigner_d.py", line 5, in <module>
from lie_learn.representations.SO3.irrep_bases import change_of_basis_matrix
ModuleNotFoundError: No module named 'lie_learn.representations.SO3.irrep_bases'
Same issue. But I notice that in the so3_fft routine, there is conditional argument testing whether the input is a CUDA device tensor. You could come into this issue if you have not launched your container correctly (e.g. without GPU) or CUDA is not set up correctly. I finally fix it by running the container with GPU on.