DeepDriveMD / DeepDriveMD-pipeline

DeepDriveMD: Deep-Learning Driven Adaptive Molecular Simulations
MIT License
15 stars 9 forks source link

Add longer training on first iteration #16

Closed braceal closed 3 years ago

braceal commented 3 years ago

Expose task level parameter: initial_epochs default to the same is epochs

The logic can be added to the task level. It looks something like:

if cfg.stage_idx == 0:
    epochs = cfg.initial_epochs
else:
    epochs = cfg.epochs

Then pass epochs to the training function.

braceal commented 3 years ago

Done.