Print

Print


Hello,

I was recently troubleshooting this issue, and indeed this means that your pytorch version is too new for this model. As mentioned in Relion 4 GitHub page, (https://github.com/3dem/relion/tree/ver4.0) the classranker model was made with:

Python 3.9.12 with Pytorch 1.10.0 and Numpy 1.20.0

So you can fix it as follows (using conda):

conda create --name relion_torch python=3.9
conda activate relion_torch
conda install pytorch=1.10.0

When you want to run the automatic class ranker in Relion 4 GUI you need to provide the path to the python from this newly created environment. Run the following commands:

conda activate relion_torch
which python

Hope this helps!

Best wishes,
Vadim Kotov

########################################################################

To unsubscribe from the CCPEM list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCPEM&A=1

This message was issued to members of www.jiscmail.ac.uk/CCPEM, a mailing list hosted by www.jiscmail.ac.uk, terms & conditions are available at https://www.jiscmail.ac.uk/policyandsecurity/