waxmorph.torch.train.TrainResult#
- class waxmorph.torch.train.TrainResult(model, log)[source]#
Bases:
objectBest post-update model and its training log.
The supplied optimizer state is restored alongside
model.losses_total,losses_shape, andlosses_l2are length-n_epochspost-update histories; shape loss sums supervised frames and L2 is the unweighted learned-displacement regularizer.best_traj_posandbest_traj_polhave shape[t_rollout + 1, N, 3];best_traj_chas shape[t_rollout + 1, N, C].best_epochis zero-based; other metadata keys arebest_loss, sortedtarget_frames, and oneconfig_<field>perTrainConfigfield. JAX addsconfig_max_edges_factor.