jiwoncpark / h0rton

Deep Modeling of Strong Gravitational Time Delay Lenses for Bayesian Inference of the Hubble Constant
MIT License
10 stars 1 forks source link

Consider batch transforms #23

Open jiwoncpark opened 4 years ago

jiwoncpark commented 4 years ago

Not a priority, but batch transforms (parallelized on GPU) will make training marginally faster. Currently, I let the DataLoader in Torch take care of it example by example, using its own optimizations like loading the batch while updating weights. Relevant issue here: https://github.com/pytorch/vision/issues/157