Giter VIP home page Giter VIP logo

robot's Introduction

A Holistic View of Label Noise Transition Matrix in Deep Learning and Beyond (ROBOT)

This repository contains the source code for the paper A Holistic View of Label Noise Transition Matrix in Deep Learning and Beyond. Our paper is available on OpenReview: link. Main Figure

Table of Contents

Installation

To use this project, you will need to install the following packages:

  • PyTorch: pip install torch
  • wandb: pip install wandb

Reproducing Results

To reproduce the results from our paper, follow these steps:

  1. Download the datasets (cifar10, cifar100).
  2. Train the model by running the following commands:

Run the code with the following commands:

#cifar10 experiment with uniform and flip noises
python robot_main.py --dataset cifar10 --corruption_ratio 0.5 --analyze --meta_lr 5e-2 --wandb --start_correction 0 --runs_name 0.5_forward_rce_uniform --loss forward --print_predictions --start_updating_T 20 --max_epoch 85 --outer_obj rce --corruption_type uniform
python robot_main.py --dataset cifar10 --corruption_ratio 0.45 --analyze --meta_lr 5e-2 --wandb --start_correction 0 --runs_name 0.45_forward_rce_flip --loss forward --print_predictions --start_updating_T 20 --max_epoch 85 --outer_obj rce --corruption_type flip1

#cifar100 experiment with uniform and flip noises
python robot_main.py --dataset cifar100 --corruption_ratio 0.2 --analyze --meta_lr 5e-2 --start_correction 0 --loss forward --start_updating_T 20 --lr 0.05 --weight_decay 1e-3 --momentum 0.9 --T_init 4.5 --batch_size 128 --meta_optim adam --project rce_T_revision_cifar100_partial_inner0.05 --runs_name 0.2_outlr5e-2_adam_mae --wandb --network r34 --num_meta 0 --max_epoch 200 --outer_obj mae --corruption_type flip1 --meta_batch_size 512
python robot_main.py  --dataset cifar100 --corruption_ratio 0.45 --analyze --meta_lr 1e-2 --start_correction 0 --loss forward --start_updating_T 10 --lr 0.05 --weight_decay 1e-3 --momentum 0.9 --T_init 4.5 --batch_size 128 --meta_optim adam --project rce_T_revision_cifar100_partial_inner0.05 --runs_name 0.45_outlr3e-3_adam_mae --wandb --network r34 --num_meta 0 --max_epoch 200 --outer_obj mae --corruption_type flip1 --meta_batch_size 512

Example Results

Results 1

robot's People

Contributors

pipilurj 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.