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)))
|
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
|
||||||
|
|
Loading…
Reference in New Issue