From 55acdee6802164efd3852a1f0013ba625b026494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E9=B9=8F=E9=A3=9E?= Date: Wed, 6 Apr 2022 04:12:33 +0000 Subject: [PATCH] =?UTF-8?q?[=E8=87=AA=E7=A0=94[PyTorch]Faster=5FMask=5FRCN?= =?UTF-8?q?N=5Ffor=5FPyTorch=E6=A8=A1=E5=9E=8B=E6=89=93=E5=BC=80=E8=AF=84?= =?UTF-8?q?=E6=B5=8B=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Faster_Mask_RCNN_for_PyTorch/detectron2/engine/defaults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6400c18b1d..02013007fa 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 -- Gitee