Skip to content

Commit

Permalink
Add missing unwrap_model after merge with master
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodAxe committed Jun 28, 2023
1 parent af468c3 commit d15eb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/super_gradients/training/sg_trainer/sg_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ def forward(self, inputs, targets):

processing_params = self._get_preprocessing_from_valid_loader()
if processing_params is not None:
self.net.module.set_dataset_processing_params(**processing_params)
unwrap_model(self.net).set_dataset_processing_params(**processing_params)

try:
# HEADERS OF THE TRAINING PROGRESS
Expand Down

0 comments on commit d15eb30

Please sign in to comment.