Update README.md
Example in README documentation out of date for v.0.8.0. __iter__() yields a length 3 tuple. Example shows a length 2 tuple. Change proposed: add image_name to example. Reference: From API docs ``` __iter__() ¶ Iterate over the images and annotations in the dataset. Yields: Type Description Iterator[Tuple[str, np.ndarray, Detections]] Iterator[Tuple[str, np.ndarray, Detections]]: An iterator that yields tuples containing the image name, the image data, and its corresponding annotation. ```
This commit is contained in:
1 parent
0261bec2ce
commit
be65ba7370
1 file changed
+1
-1