Giter Club home page Giter Club logo

noisylabeltest's Introduction

Report of CVML Test: Noisy Label

Shuai Liu

Code repository: https://github.com/1170500804/NoisyLabelTest.git

The instruction of the test case is: click here

This test case references a paper: Ghosh et.al. AAAI 2017

Since the GitHub markdown interpreter doesn't fully support LaTex, a comment on results is uploaded in the format of pdf.

1. Introduction

The language and framework that I use to implement this model is Python3 and Pytorch. The whole project is composited with 6 python files: backbone.py, data.py, evaluate.py, loss.py, main.py, settle_datset.py. The following of this section is the description of these files and their functions.

main.py

Run this file to train the model. To run the improved model,

python3 main.py -a 0.1 -b 1 --eta 0.6 --lr 0.1 --batch-size 512 --aug

To run the baseline:

python3 main.py --baseline --eta 0.6 --lr 0.1 --batch-size 512 --aug

To evaluate the trained model:

python3 main.py --eval --resume [path to saved model]

Backbone.py

This file implements the backbone, which is an 8-layer neural network, specified in the problem description. Kaiming normal Initialization is used in the implementation.

Data.py

This file implements the interface that loads data during training phase. The data augmentation I use is Random Crop and Random Horizontal Flip.

evaluate.py

This file implements the evaluate method.

loss.py

This file implements the reversed cross entropy with log0=-4

settle_dataset.py

This file transfers format of the cifar-10: pickle object to jpg files.

2. Result

2.1 noise rate=0.6, alpha=0.1, beta=1

CES Baseline
73.5125$\pm$0.34 36.3$\pm$12.32

2.2 vary noise rate, alpha=0.1, beta=1

Screen Shot 2020-12-27 at 8.33.56 PM

2.3 Observations

  • Comparing the baseline to CES, it is obvious that the latter one is far more robust to perturbations in the case of noise rate being 0.6.
  • The varying noise rate result shows that CES could perform well when the noise rate is less than or equal to 0.4.
  • There are performance gaps when the noise rate goes from 0.4 to 0.6 and 0.6 to 0.8. In these two cases, the dataset is noisy to a large extent and it is expectable that the model couldn't perform well.

noisylabeltest's People

Contributors

1170500804 avatar

Watchers

James Cloos avatar  avatar

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.