diff --git a/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/detectron2/engine/defaults.py b/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/detectron2/engine/defaults.py index 6400c18b1dc021fe03a1b16dbb5f98dbeebdd9b3..02013007fa8b220719a9d692e6b9ec2e3c57fe4a 100755 --- a/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/detectron2/engine/defaults.py +++ b/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/detectron2/engine/defaults.py @@ -377,7 +377,7 @@ class DefaultTrainer(SimpleTrainer): # Do evaluation after checkpointer, because then if it fails, # we can use the saved checkpoint to debug. - #ret.append(hooks.EvalHook(cfg.TEST.EVAL_PERIOD, test_and_save_results)) + ret.append(hooks.EvalHook(cfg.TEST.EVAL_PERIOD, test_and_save_results)) if comm.is_main_process(): # run writers in the end, so that evaluation metrics are written