Giter VIP home page Giter VIP logo

example_forgetting's Introduction

Example Forgetting Implementation with Pytorch

  • Unofficial implementation of the paper An Empirical Study of Example Forgetting during Deep Neural Network Learning

0. Brief Explanation

  • Check data with no learning events with various epochs - 15, 40, 60
  • ResNet 50 mixed precision training on ImageNet-1K
  • All the experiments are done with 1 RTX 3080 GPU

1. Implementation Details

  • _eda : related with data pre-processing and eda
  • _not_learned_json : images with no learning events
  • _train_logs : train logs of ResNet 50 with mixed precision training
  • data.py : data augmentations, dataset
  • ImageNet_class_index.json : ImageNet-1K label information
  • main_single.py : train and evaluate model and save forgetting event logs
  • not_learned_train_filtered.json : pre-process not_learned_train.json using epochs
  • not_learned_train.json : data - not learned epochs output
  • run.sh : run python per gpu
  • utils.py : utils such as scheduler, logger

2. Results

2.1. Base Configuration

config value
optimizer SGD
base learning rate 0.05
weight decay 1e-4
optimizer momentum 0.9
batch size 128
learning rate schedule cosine decay
warmup epochs 5
augmentation Resize and Random Crop
loss CrossEntropy

2.2. Train Results

epoch acc
15 71.512
40 73.624
60 73.718

3. Reference

  • An Empirical Study of Example Forgetting during Deep Neural Network Learning [paper] [official code]

example_forgetting's People

Contributors

jasonlee1995 avatar

Watchers

 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.