You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Using lightning can simplify our implementation of models, training, etc. The idea is from @xingjian-zhang. I am still going through the tutorials of lightning.
The Trainer class is a bit complicated to me. Do we really need to implement a trainer here? My initial idea was, for each kind of task, to implement a subclass of pl.LightningModule that at least reloads/implements the following member functions:
forward
training_step
validation_step
test_step
configure_optimizers
We may want to add other functions by need, too.
Therefore, the training script will contain these components:
Is your feature request related to a problem? Please describe.
Using lightning can simplify our implementation of models, training, etc. The idea is from @xingjian-zhang. I am still going through the tutorials of lightning.
We may end up with a trainer class similar to this one:
https://github.com/intel-analytics/BigDL/blob/main/python/nano/src/bigdl/nano/pytorch/trainer/Trainer.py
The text was updated successfully, but these errors were encountered: