henhaobio
Sign in

bioRxivBiophysicsPreprint

torch-projectors: A High-Performance Differentiable Projection Library for PyTorch

Dimitry TegunoviD

PDFDOI

Abstract

Fourier-space projection operations are central to electron microscopy single-particle analysis and electron tomography algorithms. Machine learning methods require differentiable implementations for end-to-end model training, but PyTorchs built-in operations are too slow for practical use. This paper introduces torch-projectors: a high-performance library for differentiable Fourier-space projections in PyTorch. The library provides 2D and 3D forward and backward projection operators with linear and cubic interpolation, supporting gradient calculation for all inputs. Optimized for CPU, Apple Silicon (MPS), and CUDA devices, torch-projectors outperforms torch-fourier-slice by 1-2 orders of magnitude.

Citations
1

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.