Skip to content

Commit

Permalink
Fix index bug (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunmajum committed Aug 4, 2020
1 parent bf04132 commit bc9046c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/preprocess/preprocess_coco.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def collate_fn(instances: List[Any]):

# Serialize each instance (as a dictionary). Use `pickle.dumps`. Key will
# be an integer (cast as string) starting from `0`.
for index, batch in enumerate(tqdm(dloader)):
for idx, batch in enumerate(tqdm(dloader)):

txn = db.begin(write=True)

Expand Down

0 comments on commit bc9046c

Please sign in to comment.