trainer#
nfflr.train provides an ignite-based trainer utility (and helper functions) for training force fields and general atomistic models. The trainer supports multi-GPU data-parallel distributed training based on ignite.distributed.
Configuration#
|
NFFLr configuration for the optimization process. |
ignite-based trainer#
|
NFFLr trainer entry point. |
|
NFFLr learning rate finder entry point. |
training setup#
|
Configure training and validation datasets. |
|
Initialize model, criterion, and optimizer. |
|
Create ignite trainer and attach common event handlers. |
|
Configure model and trainer checkpointing. |
|
Configure train and validation evaluators. |