LucaProt icon indicating copy to clipboard operation
LucaProt copied to clipboard

使用structure_from_esm_v1.py总是获得uncompleted.txt文件

Open MillyLii opened this issue 2 years ago • 4 comments

命令大概是这样: python structure_from_esm_v1.py -i data/query.fasta -o data/esmfold_data/ --num-recycles 4 --truncation_seq_length 256 --chunk-size 64 --cpu-offload --batch_size 1 --try_failure 有添加--try_failure参数和减少--truncation_seq_length到大概256,GPU内存也没有也没有被占满没有报“CUDA out of memory",只使用了两个蛋白质序列做测试,为什么总是出现以下情况呢? save dir: data/esmfold_data/data/pdb/query. all number: 2 done number: 0 exists number: 0 wanted number: 2 total protein num: 2, completed num: 0, use time per seq: 0.000000, avg seq len: 0.000000 filepath: ['data/query.fasta'] done.

MillyLii avatar Nov 17 '24 07:11 MillyLii

你这是预测3d结构吗?用的是什么显卡?指定了卡号吗?

MillyLii @.***>于2024年11月17日 周日15:02写道:

命令大概是这样: python structure_from_esm_v1.py -i data/query.fasta -o data/esmfold_data/ --num-recycles 4 --truncation_seq_length 256 --chunk-size 64 --cpu-offload --batch_size 1 --try_failure 有添加--try_failure参数和减少--truncation_seq_length到大概256,GPU内存也没有也没有被占满没有报“CUDA out of memory",只使用了两个蛋白质序列做测试,为什么总是出现以下情况呢? save dir: data/esmfold_data/data/pdb/query. all number: 2 done number: 0 exists number: 0 wanted number: 2 total protein num: 2, completed num: 0, use time per seq: 0.000000, avg seq len: 0.000000 filepath: ['data/query.fasta'] done.

— Reply to this email directly, view it on GitHub https://github.com/alibaba/LucaProt/issues/76, or unsubscribe https://github.com/notifications/unsubscribe-auth/AORN2XTE5DRR2RVLEE3RZMD2BA5P3AVCNFSM6AAAAABR5UALNKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3DKNBQG4ZTOMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

non-name-2020 avatar Nov 17 '24 07:11 non-name-2020

你这是预测3d结构吗?用的是什么显卡?指定了卡号吗? MillyLii @.>于2024年11月17日 周日15:02写道: … 命令大概是这样: python structure_from_esm_v1.py -i data/query.fasta -o data/esmfold_data/ --num-recycles 4 --truncation_seq_length 256 --chunk-size 64 --cpu-offload --batch_size 1 --try_failure 有添加--try_failure参数和减少--truncation_seq_length到大概256,GPU内存也没有也没有被占满没有报“CUDA out of memory",只使用了两个蛋白质序列做测试,为什么总是出现以下情况呢? save dir: data/esmfold_data/data/pdb/query. all number: 2 done number: 0 exists number: 0 wanted number: 2 total protein num: 2, completed num: 0, use time per seq: 0.000000, avg seq len: 0.000000 filepath: ['data/query.fasta'] done. — Reply to this email directly, view it on GitHub <#76>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AORN2XTE5DRR2RVLEE3RZMD2BA5P3AVCNFSM6AAAAABR5UALNKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3DKNBQG4ZTOMY . You are receiving this because you are subscribed to this thread.Message ID: @.>

对的,显卡是RTX 3090,不过我没看到指定卡号的代码?

MillyLii avatar Nov 23 '24 02:11 MillyLii

您的显卡太小了,您降低--chunk-size到16试一下,跑命令之前先用export CUDA_VISIBLE_DEVICES=1指定卡号,你先试一下看

MillyLii @.***> 于2024年11月23日周六 10:28写道:

你这是预测3d结构吗?用的是什么显卡?指定了卡号吗? MillyLii @.

>于2024年11月17日 周日15:02写道: … <#m_-8749108528562951757_> 命令大概是这样: python structure_from_esm_v1.py -i data/query.fasta -o data/esmfold_data/ --num-recycles 4 --truncation_seq_length 256 --chunk-size 64 --cpu-offload --batch_size 1 --try_failure 有添加--try_failure参数和减少--truncation_seq_length到大概256,GPU内存也没有也没有被占满没有报“CUDA out of memory",只使用了两个蛋白质序列做测试,为什么总是出现以下情况呢? save dir: data/esmfold_data/data/pdb/query. all number: 2 done number: 0 exists number: 0 wanted number: 2 total protein num: 2, completed num: 0, use time per seq: 0.000000, avg seq len: 0.000000 filepath: ['data/query.fasta'] done. — Reply to this email directly, view it on GitHub <#76 https://github.com/alibaba/LucaProt/issues/76>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AORN2XTE5DRR2RVLEE3RZMD2BA5P3AVCNFSM6AAAAABR5UALNKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3DKNBQG4ZTOMY https://github.com/notifications/unsubscribe-auth/AORN2XTE5DRR2RVLEE3RZMD2BA5P3AVCNFSM6AAAAABR5UALNKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3DKNBQG4ZTOMY . You are receiving this because you are subscribed to this thread.Message ID: @.>

对的,显卡是RTX 3090,不过我没看到指定卡号的代码?

— Reply to this email directly, view it on GitHub https://github.com/alibaba/LucaProt/issues/76#issuecomment-2495227756, or unsubscribe https://github.com/notifications/unsubscribe-auth/AORN2XQA7FRLLPXRSAGOBXD2B7R4BAVCNFSM6AAAAABR5UALNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGIZDONZVGY . You are receiving this because you commented.Message ID: @.***>

non-name-2020 avatar Nov 23 '24 14:11 non-name-2020

好的好的,谢谢

MillyLii avatar Nov 25 '24 11:11 MillyLii