This PR primarily makes changes to the engine.py files to allow for computing losses during validation and testing. This is a feature that is especially useful when one is training with only off-policy datasets. To make this possible I also unified the logging code in runner.py.
This PR primarily makes changes to the engine.py files to allow for computing losses during validation and testing. This is a feature that is especially useful when one is training with only off-policy datasets. To make this possible I also unified the logging code in
runner.py
.