Skip to content

serre-lab/coco_dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Coco Dots

Lore Goetschalckx, Maryam Zolfaghar, Alekh K. Ashok, Lakshmi N. Govindarajan, Drew Linsley, Thomas Serre

About

COCO Dots is based on the original COCO panoptic segmentation dataset. It was designed to train models on a grouping task similar to the one used in a human psychophysics study by Jeurissen et al. (2016). The most important addition to the original COCO panoptic json-file is the serrelab_anns key.

The format of the original annotation file can be found here: COCO 2017 Annotations Format

We have modified the annotations file to include the following, highlighted fields:

SerreLab Annotations

Usage

  1. Download the COCO 2017 train and validation datasets:
  1. Download the our modified Annotation files:
  1. Create the DataLoaders as follows:
from data import CocoDots
train_loader = torch.utils.data.DataLoader(
CocoDots("<PATH_TO_TRAIN_ANNOTATIONS_JSON>", "<PATH_TO_COCO_2017_TRAIN_IMAGES>", conversion='WhiteOutline'),
batch_size=128, num_workers=4, pin_memory=False, drop_last=True)

val_loader = torch.utils.data.DataLoader(
CocoDots("<PATH_TO_VAL_ANNOTATIONS_JSON>", "<PATH_TO_COCO_2017_VAL_IMAGES>", conversion='WhiteOutline'),
batch_size=128, num_workers=4, pin_memory=False, drop_last=True)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages