Add save_dir arg to test.test, use arg as location for saving batch jpgs

This commit is contained in:
Alex Stoken committed 2020-06-17 16:08:46 -05:00
1 parent 945307beba
commit 9b7386f603
2 files changed
+7 -5

No files matched your search

+2 -1
View File
@@ -303,7 +303,8 @@ def train(hyp):
model=ema.ema,
single_cls=opt.single_cls,
dataloader=testloader,
fast=epoch < epochs / 2)
fast=epoch < epochs / 2
save_dir=log_dir)
# Write
with open(results_file, 'a') as f: