COCODetection# class composer.datasets.COCODetection(img_folder, annotate_file, transform=None)[source]# PyTorch Dataset for the COCO dataset. Parameters img_folder (str) โ the path to the COCO folder. annotate_file (str) โ path to a file that contains image id, annotations (e.g., bounding boxes and object classes) etc. transform (Module) โ transformations to apply to the image.