Closed ff98li closed 1 year ago
I suspect the order of your images from the mrc_list.txt input, from this line:
ls -d -1 $dis/* >> $DATADIR/mrc_list.txt
Does not match the order of the CTF parameters parsed from cryosparc_P11_J4_003_particles.cs
. The .cs file parameters are in the same order as the .star file from the EMPIAR 10028 entry.
Thank you for your reply very much!
The issue indeed arose from unmatched CTF and images. The reconstruction results have achieved much better resolution after redoing the downsampling with the correct image-CTF order:
D = 128, 60 epochs
D = 360, 30 epochs
Training loss:
I notice that although the reconstruction quality of volumes gets better along the course of training, the loss seems not to have a decreasing trend. I wonder if the training has in fact already converged at this point, and if the persistent non-decreasing loss of homogeneous reconstruction is inherent in the heterogeneities of real cryo-em data.
Following my mistake of un-matching CTF-image indices from the beginning:
pose.pkl
have the same image order as the pkl
that is parsed from .cs
or .star
, as the model sorts poses by image indices after every batch training?pkl
and that of the model output poses are consistent).Thank you again for your reply! Your insights are very much appreciated.
cryodrgn train_nn
with your desired architecture and input poses. Then you can load that model in cryodrgn abinit_homo
to refine your poses. Make sure to use --domain hartley
in cryodrgn train_nn
(the default to cryodrgn train_nn
is --domain fourier
).
Dear all,
Thanks for sharing the awesome work! I have been exploring with the latest version of CryoDRGN2 recently. I was trying to perform homogeneous reconstruction using
abinit_homo
for EMPIAR-10028. However, after plotting out the loss it appears that the training did not converge after 60 epochs:The periodic pattern in the loss seems to coincide with the pose search update of 5 epochs reported in the paper, but I'm 100% certain if the periodic loss is attributed to the pose search steps. The resulted final volume of homogeneous reconstruction is below:
Steps to reproduce
ctf.pkl
from here. (script I used)cryodrgn downsample $DATADIR/mrc_list.txt -D 256 \ --max-threads 64 \ -o $DATADIR/particles.256.mrcs \ --chunk 50000
cryodrgn downsample $DATADIR/particles.256.txt -D 128 \ --max-threads 64 \ -o $DATADIR/particles.128.mrcs