Correction to: Nature Methods https://doi.org/10.1038/s41592-021-01275-4, published online 21 October 2021.

In the version of this Article initially published, there was an error in Fig. 2b. The image labeled “Segmentation target” was a duplicate of Fig. 2a; the image has been replaced with the correct version. In the Fig. 4 caption for panels “b,c, Score maps…,” the text “(25 Å)” has been removed from the end of the sentence. For the final table in the online Methods, under “Evaluation,” the data are unchanged but have been reorganized for clarity. Finally, the two callouts to “Fig. 4” in Extended Data Fig. 5 caption should instead have referred to “Extended Data Fig. 4” and have now been corrected.

The changes have been made to the online version of the article.