Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.87 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.87 KB

THE CLEVER HANS EFFECT IN UNSUPERVISED LEARNING

Authors:

  • Jacob Kauffmann
  • Jonas Dippel
  • Lukas Ruff
  • Wojciech Samek
  • Gregoire Montavon
  • Klaus-Robert Müller

Usage:

1. Data Preparation

Download the required datasets:

Place the datasets in the data/ directory.

2. Running the experiments

2.1 Software dependencies

  • All experiments are implemented in Python.
  • Main dependencies: torch, torchvision, ipython, matplotlib, scikit-learn, scipy, numpy, Pillow, opencv-python-headless.
  • Experiments provide individual requirements.txt files.

2.2 COVID-19

  • Navigate to the radiology/ directory.
  • Open covid19.ipynb with ipython.
  • Run all cells.
  • Results can be found in the cell outputs and the results/ sub-directory.

2.3 Anomaly Detection

  • Additional dependency: Snakemake.
  • Navigate to the anomalies/ directory.
  • Run snakemake --cores 12.
  • Results can be found in the results/ sub-directory.

2.4 Representation Learning

  • Navigate to the representation/ directory.
  • Follow instructions in the README.md file in the respective folder.

Contact Information: