PaddleHelix icon indicating copy to clipboard operation
PaddleHelix copied to clipboard

运行helixfold-single-inference.py 报错

Open Linzy19 opened this issue 2 months ago • 1 comments

(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) 我按步骤安装后,执行过程遇到这个错误。

Linzy19 avatar Apr 12 '24 12:04 Linzy19

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

haifangong avatar May 07 '24 03:05 haifangong