RosettaCommons / RoseTTAFold

This package contains deep learning models and related scripts for RoseTTAFold
MIT License
1.98k stars 436 forks source link

Complex Structure Modelling invalid syntax #83

Open aputron opened 3 years ago

aputron commented 3 years ago

Hello!

I want to try and model a complex structure, and have tried running the given example. However, I get the following error.

Traceback (most recent call last):
  File "network/predict_complex.py", line 8, in <module>
    from RoseTTAFoldModel  import RoseTTAFoldModule_e2e
  File "/mnt/alpha/RoseTTAFold/network/RoseTTAFoldModel.py", line 3, in <module>
    from Embeddings import MSA_emb, Pair_emb_wo_templ, Pair_emb_w_templ, Templ_emb
  File "/mnt/alpha/RoseTTAFold/network/Embeddings.py", line 5, in <module>
    from Transformer import EncoderLayer, AxialEncoderLayer, Encoder, LayerNorm
  File "/mnt/alpha/RoseTTAFold/network/Transformer.py", line 6, in <module>
    from performer_pytorch import SelfAttention
  File "/mnt/alpha/RoseTTAFold/network/performer_pytorch.py", line 27
    def softmax_kernel(data, *, projection_matrix, is_query, normalize_data=True, eps=1e-4, device=None):
                              ^
SyntaxError: invalid syntax

I haven't been able to get into the source code very deep, but am I missing something?

Thank you for your time! -AG