Skip to content

shubhampachori12110095/BatchBALD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BatchBALD

This is the code drop for our paper BatchBALD: Efficient and Diverse Batch Acquisition for Deep Bayesian Active Learning.

The code comes as is.

Please cite us:

@misc{kirsch2019batchbald,
    title={BatchBALD: Efficient and Diverse Batch Acquisition for Deep Bayesian Active Learning},
    author={Andreas Kirsch and Joost van Amersfoort and Yarin Gal},
    year={2019},
    eprint={1906.08158},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}

How to run it

Make sure you install all requirements using

conda install pytorch torchvision cudatoolkit=10.0 -c pytorch
pip install -r requirements.txt

and you can start an experiment using:

python src/run_experiment --quickquick --num_inference_samples 10 --available_sample_k 40

which starts an experiment on a subset of MNIST with 10 MC dropout samples and acquisition size 40.

Have fun playing around with it!

About

Efficient and Diverse Batch Acquisition for Deep Bayesian Active Learning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.6%
  • Jupyter Notebook 32.4%