torchcell.losses.dango.PreThenPost
- class PreThenPost(transition_epoch: int = 10)[source]
Bases:
DangoLossSchedSchedule that uses reconstruction loss only before transition_epoch, then switches to interaction loss only.
- Parameters:
transition_epoch – Epoch at which to switch from reconstruction to interaction loss