Ver Fonte

Update READMEs

Kentaro Wada há 7 anos atrás
pai
commit
8561e28039
2 ficheiros alterados com 4 adições e 2 exclusões
  1. 2 2
      README.md
  2. 2 0
      examples/tutorial/README.md

+ 2 - 2
README.md

@@ -122,8 +122,8 @@ For more advanced usage, please refer to the examples:
 
 ## FAQ
 
-- **How to convert JSON file to numpy array?** See [examples/tutorial](https://github.com/wkentaro/labelme/blob/master/examples/tutorial).
-- **How to load label.png generated by labelme_json_to_dataset?** See [examples/tutorial](https://github.com/wkentaro/labelme/blob/master/examples/tutorial).
+- **How to convert JSON file to numpy array?** See [examples/tutorial](https://github.com/wkentaro/labelme/blob/master/examples/tutorial#convert-to-dataset).
+- **How to load label PNG file?** See [examples/tutorial](https://github.com/wkentaro/labelme/blob/master/examples/tutorial#how-to-load-label-png-file).
 - **How to get annotations for semantic segmentation?** See [examples/semantic_segmentation](https://github.com/wkentaro/labelme/blob/master/examples/semantic_segmentation).
 - **How to get annotations for instance segmentation?** See [examples/instance_segmentation](https://github.com/wkentaro/labelme/blob/master/examples/instance_segmentation).
 

+ 2 - 0
examples/tutorial/README.md

@@ -36,6 +36,8 @@ It generates standard files from the JSON file.
 - [label_viz.png](apc2016_obj3_json/label_viz.png): Visualization of `label.png`.
 - [label_names.txt](apc2016_obj3_json/label_names.txt): Label names for values in `label.png`.
 
+## How to load label PNG file?
+
 Note that loading `label.png` is a bit difficult
 (`scipy.misc.imread`, `skimage.io.imread` may not work correctly),
 and please use `PIL.Image.open` to avoid unexpected behavior: