fix pascal data setup
This commit is contained in:
parent
cefeb33baf
commit
d56bfd94cf
|
@ -119,7 +119,7 @@ def voc_eval(detpath,
|
|||
i + 1, len(imagenames)))
|
||||
# save
|
||||
print('Saving cached annotations to {:s}'.format(cachefile))
|
||||
with open(cachefile, 'w') as f:
|
||||
with open(cachefile, 'wb') as f:
|
||||
pickle.dump(recs, f)
|
||||
else:
|
||||
# load
|
||||
|
|
Loading…
Reference in New Issue