Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行helixfold-single-inference.py 报错 #279

Open
Linzy19 opened this issue Apr 12, 2024 · 1 comment
Open

运行helixfold-single-inference.py 报错 #279

Linzy19 opened this issue Apr 12, 2024 · 1 comment

Comments

@Linzy19
Copy link

Linzy19 commented Apr 12, 2024

(helixfold) root@0939b8ff136b:/remote-home/lzy/Helixfold/helixfold-single# python helixfold_single_inference.py
/opt/conda/envs/esmfold/lib/python3.7/site-packages/Bio/Data/SCOPData.py:21: BiopythonDeprecationWarning: The 'Bio.Data.SCOPData' module will be deprecated in a future release of Biopython in favor of 'Bio.Data.PDBData.
BiopythonDeprecationWarning,
Traceback (most recent call last):
File "helixfold_single_inference.py", line 29, in
from utils.model_tape import RunTapeModel
File "/remote-home/lzy/Helixfold/helixfold-single/utils/model_tape.py", line 27, in
from tape.others.protein_sequence_model_dynamic import ProteinEncoderModel, ProteinModel
File "/remote-home/lzy/Helixfold/helixfold-single/tape/others/protein_sequence_model_dynamic.py", line 24, in
from .transformer_block import TransformerEncoder, TransformerEncoderLayer
File "/remote-home/lzy/Helixfold/helixfold-single/tape/others/transformer_block.py", line 12, in
from paddle.fluid.dygraph import Layer, LayerList
ImportError: cannot import name 'Layer' from 'paddle.fluid.dygraph' (/opt/conda/envs/esmfold/lib/python3.7/site-packages/paddle/fluid/dygraph/init.py)
我按步骤安装后,执行过程遇到这个错误。

@haifangong
Copy link

https://github.com/EricwanAR/HelixFold-single, you may star and follow this link, as it fix all these bugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants