The elbo.ElboEpochIterator
The iterator class is a decorator on top of a traditional Python iterator. Add this to your training epoch loop.
Usage
The elbo.EpochIterator
takes the following arguments:
The range of epochs usually -
range(0, num_epochs)
The PyTorch model it is training
save_state_interval
How often should the model state be saved to artifacts directory. A value of5
means the model state will be saved every 5 epochs.
Last updated