Git Product home page Git Product logo

confidence-calibrated-adversarial-training's Introduction

I'm a research scientist at DeepMind doing research on robust and reliable deep learning. Before, I did a PhD at the Max Planck Institute for Informatics. Here on GitHub you can find research projects as well as open source software developed in my spare time.

Support my open source projects by donating: PayPal


confidence-calibrated-adversarial-training's People

Contributors

davidstutz 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

confidence-calibrated-adversarial-training's Issues

About the lr_scheduler

Hi~
The lr_scheduler:
def get_exponential_scheduler(optimizer, batches_per_epoch, gamma=0.97):
return torch.optim.lr_scheduler.LambdaLR(optimizer, lr_lambda=[lambda epoch: gamma ** math.floor(epoch/batches_per_epoch)])
may alawys return init_lr * 1 (0.97**0=1), since batches_per_epoch=len(self.trainloader) = 500 and epochs = 200.
Is there something wrong?

doubt about svhn adversarial training model

Hi, David. it is an excellent work with a detailed guide on the codes.
I have met some problem with the svhn_at.zip. I try to test it on clean images and get only 0.4% accuracy. I get svhn data from its website in a .mat format, replace label 10 with 0, scale data into [0,1]. So I wonder is there any difference with your test data?

Training issue, "ModuleNotFoundError: No module named 'confidence_calibrated_adversarial..."

Hi, I tried to replicate the experiments from training.

I got an error when I run the following command which is copied from the main readme.md

<Command>

python3 train.py config.svhn confidence_calibrated_adversarial_training_ce_f7p_i40_random_momentum_backtrack_power2_10 set_linf_white

<Error>
Traceback (most recent call last):
File "train.py", line 66, in
program.main()
File "train.py", line 55, in main
module = importlib.import_module(self.args.config_module)
File "/home/byunggill/anaconda3/envs/ccat/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named ` 'confidence_calibrated_adversarial_training_ce_f7p_i40_random_momentum_backtrack_power2_10'

I guess the module file 'confidence_calibrated_adversarial_training_ce_f7p_i40_random_momentum_backtrack_power2_10' is omitted from the current commit. Can you give me any hints for this?

<What-I-have-done list>

  1. Set paths in common/path.py

  2. Download data with examples/readme/download_data.py
    python download_dataset.py svhn

  3. Download model with examples/readme/download_model.py and extract the models in BASE_EXPERIMENTS
    python download_model.py svhn ccat

  4. Try to train a model.
    python3 train.py config.svhn confidence_calibrated_adversarial_training_ce_f7p_i40_random_momentum_backtrack_power2_10 set_linf_white

Thanks in advance!

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.