From eacded6a2c595c924ffa602ca13ada663b0c1a11 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 17 May 2020 22:45:48 -0700 Subject: [PATCH] add stride order reversal for c53*.cfg --- utils/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/utils.py b/utils/utils.py index 74abd999..93a9ada8 100755 --- a/utils/utils.py +++ b/utils/utils.py @@ -848,6 +848,8 @@ def plot_wh_methods(): # from utils.utils import *; plot_wh_methods() def plot_images(images, targets, paths=None, fname='images.jpg', names=None, max_size=640, max_subplots=16): tl = 3 # line thickness tf = max(tl - 1, 1) # font thickness + if os.path.isfile(fname): # do not overwrite + return None if isinstance(images, torch.Tensor): images = images.cpu().numpy()