MCPcopy Create free account
hub / github.com/1998v7/SNSCL

github.com/1998v7/SNSCL @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
278 symbols 545 edges 17 files 8 documented · 3% updated 2y ago★ 331 open issues

Browse by type

Functions 207 Types & classes 71
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SNSCL

PyTorch Implementation of SNSCL (accepted to CVPR 2023).

1. Environment settings

Python 3.8, Pytorch 1.11, CUDA 11.1

2. Dataset

Before running the code, you should create a fold '/dataset/{}' and download datasets from following links.

   Stanford Dog: http://vision.stanford.edu/aditya86/ImageNetDogs/
   Stanford Car: https://www.kaggle.com/datasets/jessicali9530/stanford-cars-dataset
   Aircraft: https://www.robots.ox.ac.uk/~vgg/data/fgvc-aircraft/
   Cub-200-2011: https://data.caltech.edu/records/65de6-vp158

3. Training

python vanilla_w_SNSCL.py  --dataset {dog, car, aircraft, cub}
                           --loss {ce_loss, APL, Asym, GCE, Sym, label_smooth, confPenalty}
                           --batch_size 64
                           --lr 0.002
                           --noise_type sym
                           --noise_r 0.2
                           --gpu 0

Some training records can be found in Google drive.

Contact

If you have any problem about our code, feel free to contact 1998v7@gmail.com

Cite

If you find the code useful, please consider citing our paper:

@inproceedings{wei2023fine,
  title={Fine-grained classification with noisy labels},
  author={Wei, Qi and Feng, Lei and Sun, Haoliang and Wang, Ren and Guo, Chenhui and Yin, Yilong},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={11651--11660},
  year={2023}
}

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 167
Class 71
Function 40

Languages

Python100%

Modules by API surface

Asym_loss.py81 symbols
APL_loss.py72 symbols
dataloader/randaugment.py36 symbols
models/resnet.py21 symbols
helpers.py15 symbols
src/contrastive_l.py11 symbols
dataloader/dogs_loader.py8 symbols
dataloader/cub_loader.py8 symbols
dataloader/aircraft_loader.py8 symbols
dataloader/car_loader.py6 symbols
models/backbone.py5 symbols
Vanilla_w_SNSCL.py4 symbols

For agents

$ claude mcp add SNSCL \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page