Giter VIP home page Giter VIP logo

pgdf's Introduction

PGDF visitors

PWC PWC PWC

This repo is the official implementation of our paper "Sample Prior Guided Robust Model Learning to Suppress Noisy Labels ".

Citation

If you use this code for your research, please cite our paper "Sample Prior Guided Robust Model Learning to Suppress Noisy Labels ".

@misc{chen2022sample,
      title={Sample Prior Guided Robust Model Learning to Suppress Noisy Labels}, 
      author={Wenkai Chen and Chuang Zhu and Yi Chen and Mengting Li and Tiejun Huang},
      year={2022},
      eprint={2112.01197},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Training

Take CIFAR-10 with 50% symmetric noise as an example:

First, please modify the data_path in presets.json to indicate the location of your dataset.

Then, run

python train_cifar_getPrior.py --preset c10.50sym

to get the prior knowledge. Related files will be saved in checkpoints/c10/50sym/saved/.

Next, run

python train_cifar.py --preset c10.50sym

for the subsequent training process.

c10 means CIFAR-10, 50sym means 50% symmetric noise.
Similarly, if you want to take experiment on CIFAR-100 with 20% symmetric noise, you can use the command:

python train_cifar_getPrior.py --preset c100.20sym
python train_cifar.py --preset c100.20sym

Contact

Wenkai Chen

Chuang Zhu

If you have any question about the code and data, please contact us directly.

Additional Info

The (basic) semi-supervised learning part of our code is borrow from the official DM-AugDesc implementation.

Since this paper has not yet been published, we only release part of the experimental code. We will release all the experimental codes after this paper is accepted by a conference.

pgdf's People

Contributors

bupt-ai-cz avatar buptcwk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pgdf's Issues

GMM after epoch 200

After reading the paper:

Specifically, as shown in Figure 2, at each epoch, we get the clean probability wit of each sample from training loss by using Gaussian Mixture Model (GMM)

But on the code this GMM is only accounted for after epoch 200. Is this an error or am I missing something?

if epoch > 200:

Thanks in advance!

questions about performances

Hello Guys,

First of all congratulations for your work! :)

I have a question:
I could see that your performance on Cifar10:

  • at 20% noise/ratio is 96.5% accuracy
  • on 80% noise/ration is 82.15% accuracy

Would you have tried on 80% noise/ratio of:
1- run the script to get your benchmark as usual
2- saved the whole dataset with the modified labels
3- restarted the script with this modified dataset?

I haven't read all of your paper yet, so it's possible you realized that. If not, do you think the performance would increase even more?
As I can see with 80% of noise label you have finally 82,5% off accuracy... It seems that it could be near the problem of a 20% noise/ratio finally... I know the problem is more difficult than that, so my question is "does iterating improve performance even more?" All based on the new initialisation of model weights..

Thanks a lot

In any case, congratulations! Your paper is superb and your code very clear.

details about mini webvision1.0 dataset

Thanks for your brilliant work first.
Actually we try to replicate your results, so i was wondering that how many samples does the mini Webvision 1.0 dataset your used in this work contain? Is that 61K? I was so confused because some works state that they also use a subset of the first 50 classes in webvision1.0 which contains more than 100K samples in training set, such as Aum[https://arxiv.org/abs/2001.10528].
Looking forward for your kindly help

Requirements

An installation file with the requirements would be handy to install all the dependencies with pip.

I believe that there is a simple command to generate a requirements.txt given an environment.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.