google-research / google-research

Google Research
https://research.google
Apache License 2.0
33.35k stars 7.77k forks source link

issue with the protnlm_use_model_for_inference_uniprot_2022_04.ipynb colab notebook #2073

Open AntKuzmenko opened 1 month ago

AntKuzmenko commented 1 month ago

Hello,

The Colab notebook for protnlm doesn't work even for the preset sequences. Upon execution the following errors occured:

  1. During code import step:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pandas-gbq 0.19.2 requires google-auth-oauthlib>=0.7.0, but you have google-auth-oauthlib 0.4.6 which is incompatible. tensorflow-datasets 4.9.4 requires protobuf>=3.20, but you have protobuf 3.19.6 which is incompatible. tensorflow-metadata 1.15.0 requires protobuf<4.21,>=3.20.3; python_version < "3.11", but you have protobuf 3.19.6 which is incompatible. tf-keras 2.15.1 requires tensorflow<2.16,>=2.15, but you have tensorflow 2.8.2 which is incompatible.

  1. During prediction step:

**NameError Traceback (most recent call last) in <cell line: 10>() 8 sequence = sequence.replace(' ', '') 9 ---> 10 names, scores = run_inference(sequence) 11 12 for name, score, i in zip(names, scores, range(len(names))):

NameError: name 'run_inference' is not defined**

TienKimNguyen commented 1 month ago

Check if you have this cell before running that:

Screenshot 2024-05-24 at 1 44 23 PM