QUVA-Lab / e2cnn

E(2)-Equivariant CNNs Library for Pytorch
https://quva-lab.github.io/e2cnn/
Other
596 stars 75 forks source link

e2cnn library not working..please re #28

Closed namankhetan closed 3 years ago

namankhetan commented 3 years ago

from e2cnn import gspaces

AttributeError: module 'e2cnn' has no attribute 'group'

this was working the day before but not now. Screenshot from 2021-03-26 15-29-11

Gabri95 commented 3 years ago

Hi @namankhetan

I am sorry, I made a mistake in the last update when porting the python 3.7 version to python 3.6.

The problem is that Python 3.6 does not allow future imports for the annotations, and therefore the annotation of the method "irreps" fails. Unfortunately, I can not fix this issue immediately, but I will do it later today or tomorrow morning.

In the meantime, you can use a previous version of the library. Try installing this:

pip install git+https://github.com/QUVA-Lab/e2cnn@c77faef49fd1bf12ccf538a63cac201a89f16c6

Thanks for reporting this issue!

Gabriele

namankhetan commented 3 years ago

Thank you so much @Gabri95