Browse Source

Fix warning message

Kentaro Wada 5 năm trước cách đây
mục cha
commit
3158981154
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      labelme/cli/json_to_dataset.py

+ 4 - 3
labelme/cli/json_to_dataset.py

@@ -12,9 +12,10 @@ from labelme import utils
 
 
 def main():
-    logger.warning('This script is aimed to demonstrate how to convert the'
-                   'JSON file to a single image dataset, and not to handle'
-                   'multiple JSON files to generate a real-use dataset.')
+    logger.warning('This script is aimed to demonstrate how to convert the '
+                   'JSON file to a single image dataset.')
+    logger.warning("It won't handle multiple JSON files to generate a "
+                   "real-use dataset.")
 
     parser = argparse.ArgumentParser()
     parser.add_argument('json_file')