This commit is contained in:
Glenn Jocher 2020-01-14 17:26:22 -08:00
parent c5d7ff27e6
commit 78ac3bdcfb
1 changed files with 1 additions and 0 deletions

View File

@ -1015,6 +1015,7 @@ def plot_results(start=0, stop=0, bucket='', id=()): # from utils.utils import
s = ['GIoU', 'Objectness', 'Classification', 'Precision', 'Recall', s = ['GIoU', 'Objectness', 'Classification', 'Precision', 'Recall',
'val GIoU', 'val Objectness', 'val Classification', 'mAP@0.5', 'F1'] 'val GIoU', 'val Objectness', 'val Classification', 'mAP@0.5', 'F1']
if bucket: if bucket:
os.system('rm -rf storage.googleapis.com')
files = ['https://storage.googleapis.com/%s/results%g.txt' % (bucket, x) for x in id] files = ['https://storage.googleapis.com/%s/results%g.txt' % (bucket, x) for x in id]
else: else:
files = glob.glob('results*.txt') + glob.glob('../../Downloads/results*.txt') files = glob.glob('results*.txt') + glob.glob('../../Downloads/results*.txt')