PDEBench icon indicating copy to clipboard operation
PDEBench copied to clipboard

possibly critical bugs in UNet training script

Open till-m opened this issue 1 month ago • 3 comments
trafficstars

In the UNet training script, when training_type="single", I think the model might only be training on one batch element per epoch due to an indentation error. Specifically this if-clause should be indented one more level. The FNO is indented correctly and does not have this problem.

Sidenote (another bug): When constructing the UNetDatasetMult, the script instantiates the class with parameters that don't exist (anymore?), causing a crash.

till-m avatar Oct 13 '25 14:10 till-m