GitHunt
CH

Contrastive Object-level Pre-training with Spatial Noise Curriculum Learning

CCOP


Code of our paper Contrastive Object-level Pre-training with Spatial Noise Curriculum Learning

Requirement


  1. Install OpenSelfSup
  2. Install Detectron2, Do not forget to setup Detectron2 datasets!!!
  3. Install Kornia for fast data augmentation

Usage


% remember to setup the dataset paths
python tools/selective_search.py

Setup dataset

mkdir data
ln -s path_to_coco data

Run CCOP pre-training and Mask R-CNN benchmark

% training a ResNet-50 model with 8 GPU
zsh tools/det_train_benchmark.sh configs/selfsup/ccop/r50_d2.py 8 path_to_output

You can also directly download the pre-trained model

Citation


@article{yang2021contrastive,
  title={Contrastive Object-level Pre-training with Spatial Noise Curriculum Learning},
  author={Yang, Chenhongyi and Huang, Lichao and Crowley, Elliot J},
  journal={arXiv preprint arXiv:2111.13651},
  year={2021}
}

Languages

Python94.2%Shell5.8%

Contributors

Apache License 2.0
Created November 29, 2021
Updated August 30, 2024
ChenhongyiYang/CCOP | GitHunt