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