Closed atturaioe closed 1 year ago
Support wrapped models in trainer.py::STSTrainer::prediction_step. Using model.model is assumed that model is not wrapped in Pytorch's DataParallel layers.
trainer.py::STSTrainer::prediction_step
model.model
Support wrapped models in
trainer.py::STSTrainer::prediction_step
. Usingmodel.model
is assumed that model is not wrapped in Pytorch's DataParallel layers.