From 15dc953502cbe413a94e70f742f275ca9f2103a6 Mon Sep 17 00:00:00 2001 From: Will Constable Date: Mon, 21 Sep 2020 01:44:13 -0400 Subject: [PATCH] Avoid git operation triggered in yolo model --- torchbenchmark/models/yolov3/yolo_train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchbenchmark/models/yolov3/yolo_train.py b/torchbenchmark/models/yolov3/yolo_train.py index c5a3e67d2f..0c5d1da6a3 100644 --- a/torchbenchmark/models/yolov3/yolo_train.py +++ b/torchbenchmark/models/yolov3/yolo_train.py @@ -419,7 +419,7 @@ def train_loop(epochs): parser.add_argument('--freeze-layers', action='store_true', help='Freeze non-output layers') opt = parser.parse_args(args) opt.weights = last if opt.resume else opt.weights - check_git_status() + # check_git_status() opt.cfg = check_file(opt.cfg) # check file print(opt.data) opt.data = check_file(opt.data) # check file