waxmorph.jax.train.TrainResult#
- class waxmorph.jax.train.TrainResult(model, log)[source]#
Bases:
objectBest post-update model and its run diagnostics.
losses_total,losses_shape, and unweightedlosses_l2each have lengthn_epochsand describe post-update rollouts. The best trajectory includes the source frame and has shapes[t_rollout+1, N, 3]forbest_traj_posandbest_traj_pol, and[t_rollout+1, N, num_molecules]forbest_traj_c.best_epochis zero-based;best_lossmatches that model and trajectory.target_framesis sorted, and every config field appears asconfig_<field>. JAX therefore addsconfig_max_edges_factorto the common Torch log schema.