Closed szimmerman92 closed 10 months ago
Hi Sam,
thanks a lot for the heads-up. I have replaced the '.full()' by '.to(torch.float32)' which solves the issue on my end.
Thank you very much. That worked perfectly.
While I am here, can I ask you if there is any difference in accuracy in creating 3DI sequences from amino acids when running predict_3DI_encoderOnly.py compared to translate.py?
Thanks again!
Sam
Yes, indeed there will be a difference. Unfortunately, I still did not manage to update the bioRxiv version of the paper to have a proper description of the difference but in a nutshell:
Very interesting. Thank you for the detailed response!
Hi,
Thank you for the great tool. When I run the script predict_3Di_encoderOnly.py in full precision mode I get the following error "AttributeError: 'T5EncoderModel' object has no attribute 'full'
Specifically the code I am running is the following:
python predict_3Di_encoderOnly.py --input test.fasta --output test_res.fasta --model prstt5_model --half 0
Thanks again.
Best, Sam