Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Drop broken progress bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenroller committed Jan 11, 2019
1 parent 30fb13f commit a2eb04d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions parlai/scripts/extract_image_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,9 @@ def extract_feats(opt):
world = create_task(opt, agent)

total_exs = world.num_examples()
pbar = tqdm.tqdm(unit='ex', total=total_exs)
# TODO: wrap in a tqdm
while not world.epoch_done():
world.parley()
pbar.update(bsz)
pbar.close()
elif opt.get('use_hdf5_extraction', False):
'''One can specify a Pytorch Dataset for custom image loading'''
nw = opt.get('numworkers', 1)
Expand Down

0 comments on commit a2eb04d

Please sign in to comment.