From c0f77a969eb7dc021b0f8656a1c18c2a189a999f Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Tue, 26 May 2020 15:55:17 +0100 Subject: [PATCH] Fix typo --- labelme/cli/draw_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labelme/cli/draw_json.py b/labelme/cli/draw_json.py index 6529b79..ea9062b 100644 --- a/labelme/cli/draw_json.py +++ b/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']): -- GitLab