Skip to content

Commit beaa973

Browse files
authored
Update coco.py
1 parent f38374f commit beaa973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/dataset/coco.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ def _load_coco_person_detection_results(self):
272272
img_name = os.path.join(self.frame_path, self.videoname, "%s_F_%08d.jpg" % (self.videoname, det_res['image_id']))
273273
if self.check_img:
274274
if not os.path.exists(img_name):
275-
logger.info("ignoring %s" % img_name)
276-
continue
275+
logger.info("ignoring %s" % img_name)
276+
continue
277277
try:
278278
data_test = cv2.imread(img_name, cv2.IMREAD_COLOR | cv2.IMREAD_IGNORE_ORIENTATION)
279279
data_test = cv2.cvtColor(data_test, cv2.COLOR_BGR2RGB)

0 commit comments

Comments
 (0)