Kentaro Wada 5 년 전
부모
커밋
c0f77a969e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      labelme/cli/draw_json.py

+ 1 - 1
labelme/cli/draw_json.py

@@ -19,7 +19,7 @@ def main():
     args = parser.parse_args()
 
     label_file = LabelFile(args.json_file)
-    img = utils.img_b64_to_arr(label_file.imageData)
+    img = utils.img_data_to_arr(label_file.imageData)
 
     label_name_to_value = {'_background_': 0}
     for shape in sorted(label_file.shapes, key=lambda x: x['label']):