Improved model+EMA checkpointing 2 (#2295)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-02-24 21:03:21 -08:00
1 parent ec1d8496ba
commit 71dd2768f2
2 files changed
+4 -4

No files matched your search

+1
View File
@@ -269,6 +269,7 @@ def test(data,
print(f'pycocotools unable to run: {e}')
# Return results
model.float() # for training
if not training:
s = f"\n{len(list(save_dir.glob('labels/*.txt')))} labels saved to {save_dir / 'labels'}" if save_txt else ''
print(f"Results saved to {save_dir}{s}")