fix pascal data setup

This commit is contained in:
Xingyi Zhou 2019-04-22 22:36:50 -05:00
parent cefeb33baf
commit d56bfd94cf
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def voc_eval(detpath,
i + 1, len(imagenames))) i + 1, len(imagenames)))
# save # save
print('Saving cached annotations to {:s}'.format(cachefile)) print('Saving cached annotations to {:s}'.format(cachefile))
with open(cachefile, 'w') as f: with open(cachefile, 'wb') as f:
pickle.dump(recs, f) pickle.dump(recs, f)
else: else:
# load # load