PyTorch version to screen and cleanup (#1325)

* Create flatten_recursive() helper function

* cleanup

* print torch version
This commit is contained in:
Glenn Jocher authored and GitHub committed 2020-11-09 12:24:11 +01:00
1 parent 81d320109f
commit 19e2482458
4 files changed
+18 -11

No files matched your search

+2 -1
View File
@@ -262,7 +262,8 @@ def test(data,
print('ERROR: pycocotools unable to run: %s' % e)
# Return results
print('Results saved to %s' % save_dir)
if not training:
print('Results saved to %s' % save_dir)
model.float() # for training
maps = np.zeros(nc) + map
for i, c in enumerate(ap_class):