Skip to content

Commit fb5c7a4

Browse files
Benjamin-Etheredgebeat-buesser
authored andcommitted
Adding disablement of batch norm
Signed-off-by: Ben <[email protected]>
1 parent 6c7befd commit fb5c7a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

art/estimators/object_detection/pytorch_object_detector.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ def _get_losses(
310310
self._model.train()
311311

312312
self.set_dropout(False)
313+
self.set_batchnorm(False)
313314
self.set_multihead_attention(False)
314315

315316
# Apply preprocessing and convert to tensors

0 commit comments

Comments
 (0)