Classes to build datasets for object detection and instance segmentation
Create a new dataset for cats and dogs detection
path,df = CocoData.create("ds-cats-dogs", cat_list=["cat", "dog"], with_mask=True, max_images=100)
path
df.head(5)
When you already downloaded a dataset, you can get the path and DataFrame
by its name:
path,df = CocoData.get_path_df("ds-cats-dogs")
path
df.head(2)
CocoData.show_examples("ds-cats-dogs", n=5)