alkzar90 commited on
Commit
15fe087
1 Parent(s): d11e825

Update CC6204-Hackaton-Cub-Dataset.py

Browse files
Files changed (1) hide show
  1. CC6204-Hackaton-Cub-Dataset.py +1 -1
CC6204-Hackaton-Cub-Dataset.py CHANGED
@@ -43,7 +43,7 @@ _NAMES = list(_ID2LABEL.values())
43
  # build from images.txt: a mapping from image_file_name -> id
44
  imgpath_to_ids = get(_URLS["images"]).iter_lines()
45
  _IMGNAME2ID = {}
46
- for row in imagepath_to_ids:
47
  row = row.decode("UTF8")
48
  if row != "":
49
  idx, img_name = row.split(" ")
 
43
  # build from images.txt: a mapping from image_file_name -> id
44
  imgpath_to_ids = get(_URLS["images"]).iter_lines()
45
  _IMGNAME2ID = {}
46
+ for row in imgpath_to_ids:
47
  row = row.decode("UTF8")
48
  if row != "":
49
  idx, img_name = row.split(" ")