Can I still use custom training loops while using the PyTorch Lightning Trainer?
Sometimes I need to do something very non-standard, like GAN training or meta-learning, where the standard fit() method might be too restrictive. Does PyTorch Lightning allow for manual optimization where I control the backward() and step() calls myself? I love the logging and hardware management of Lightning, but I don't want to be "boxed in" by the Trainer's automation.
Write a Comment
Your email address will not be published. Required fields are marked (*)