Code Monkey home page Code Monkey logo

ags_cl's Introduction


Execution Details

1. Supervised Learning

Requirements

  • Python 3
  • Cifar100/Cifar10/100 : GPU 1080Ti / Pytorch 1.3.1+cu9.2 / CUDA 9.2
  • Omniglot : GPU Titan RTX / Pytorch 1.3.1 / CUDA 10.0
  • CUB200 : GPU 1080Ti / Pytorch 1.0.0+cu9.2 / CUDA 9.2

1) Download dataset

2) Execution command

# Cifar100
$ python3 ./main.py --experiment split_cifar100 --approach gs --lamb 400 --mu 10 --rho 0.3 --eta 0.9 

# Cifar10/100
$ python3 ./main.py --experiment split_cifar10_100 --approach gs --lamb 7000 --mu 20 --rho 0.2 --eta 0.9 

# Omniglot
$ python3 ./main.py --experiment omniglot --approach gs --lamb 1000 --mu 7 --rho 0.5 --eta 0.9 

# CUB200
$ cd LargeScale_AGS
$ python3 ./main.py --dataset CUB200 --trainer gs --lamb 1.5 --mu 0.5 --rho 0.1 --eta 0.9 

3) Result(Average accuracy)

CIFAR100 CIFAR-10/100 Omniglot CUB-200
AGS-CL 64.2 76.0 82.2 82.9

2. Reinforcement Learning (Atari)

Requirements

  • Python 3.6
  • Pytorch 1.2.0+cu9.2 / CUDA 9.2
  • OpenAI Gym, Baselines

Notes

The experimental environment for reinforcement learning is built based on pytorch-a2c-ppo-acktr-gaail

1) Install OpenAI Gym, Baselines

โ€‹ Follow below links for installation

โ€‹ OpenAI Gym, Baselines

2) Execution command

# Fine-tuning
$ CUDA_VISIBLE_DEVICES=0 python3 main_rl.py --approach 'fine-tuning' --seed 0 --date 200605  

# EWC
$ CUDA_VISIBLE_DEVICES=0 python3 main_rl.py --approach 'ewc' --seed 0 --date 200605 

# AGS-CL
$ CUDA_VISIBLE_DEVICES=0 python3 main_rl.py --approach 'gs' --seed 0 --date 200605 --gs-mu 0.1 --gs-lamb 1000

ags_cl's People

Contributors

hongjoon0805 avatar sangwon-jung94 avatar cryingbi avatar csm9493 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.