Deep learning inference with the Event Horizon Telescope I. Calibration improvements and a comprehensive synthetic data library