Skip to content

Latest commit

 

History

History

cls

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MIC for Domain-Adaptive Image Classification

Getting started

Installation

For this project, we used python 3.8.5. We recommend setting up a new virtual environment:

python -m venv ~/venv/mic-cls
source ~/venv/mic-cls/bin/activate

In that environment, the requirements can be installed with:

pip install -r requirements.txt

We use Weights and Biases (wandb) to track our experiments and results. For that purpose, please create a new project MIC with your account.

Datasets

The datasets used in the repository can be downloaded from the following links:

The datasets are automatically downloaded to the examples/data/ folder if it is not available.

Training

For experiments in our paper, we use a script to automatically generate the different configurations and train them:

python run_experiments.py --exp <ID>

More information about the available experiments and their assigned IDs, can be found in experiments.py.

The experiment progress is logged on Weights&Biases.

For VisDA-2017, the mean over the class accuracies is reported. This value is denoted as 'mean correct' in the logs as explained in val-iisc/SDAT#1.

Where to find MIC in the code?

The most relevant files for MIC are:

Acknowledgements

MIC for classification is based on the following open-source projects. We thank their authors for making the source code publicly available.