lucidrains / equiformer-pytorch

Implementation of the Equiformer, SE3/E3 equivariant attention network that reaches new SOTA, and adopted for use by EquiFold for protein folding
MIT License
247 stars 23 forks source link

TypeError: 'type' object is not subscriptable #12

Closed smiles724 closed 1 year ago

smiles724 commented 1 year ago

Hi thanks for providing the code. However, I failed to call the Equiformer successfully due to the following error. Can you please help debug the problem?

image

lucidrains commented 1 year ago

@smiles724 oops, that's a python 3.9 feature

want to try the latest change?

smiles724 commented 1 year ago

Thanks for your reply. I have deleted the unnecessary line and the code works well.

lucidrains commented 1 year ago

@smiles724 oh, it didn't work even with 0.3.10?