Commit c6de1746 authored by Yuxin Wu's avatar Yuxin Wu

fix ilsvrccaffelmdb

parent a027b8de
......@@ -174,7 +174,6 @@ class ILSVRC12CaffeLMDB(DataFlow):
return None
return [img.transpose(1, 2, 0), datum.label]
with self._txn:
if not self._shuffle:
c = self._txn.cursor()
while c.next():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment