Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
potterhsu committed Sep 6, 2018
1 parent 9dcfa03 commit 7a7ffc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, dataset, path_to_data_dir, path_to_results_dir):
def evaluate(self, model):
all_image_ids, all_pred_bboxes, all_pred_labels, all_pred_probs = [], [], [], []

for batch_index, (image_id_batch, image_batch, scale_batch, _, _) in tqdm(enumerate(self.dataloader)):
for batch_index, (image_id_batch, image_batch, scale_batch, _, _) in enumerate(tqdm(self.dataloader)):
image_id = image_id_batch[0]
image = image_batch[0].cuda()
scale = scale_batch[0]
Expand Down

0 comments on commit 7a7ffc2

Please # to comment.