This package contains code to get started with latent vector reconstruction in ptychography. The raw data that have been used in the work "Noise-robust latent vector reconstruction in ptychography using deep generative models" is also provided. Raw data is published under a Creative Commons Attribution 4.0 International license and code under a MIT License (see LICENSE_data.txt LICENSE_code.txt, respectively). Follow the installation guide and instructions provided in the README.txt files to run ptychographic reconstructions as described in the paper both in conventional and latent vector reconstruction mode.