An open API service indexing awesome lists of open source software.

https://github.com/sjenni/LearningToSpotArtifacts

Self-Supervised Feature Learning by Learning to Spot Artifacts. In CVPR, 2018.
https://github.com/sjenni/LearningToSpotArtifacts

alexnet classification compter-vision deep-learning feature-learning machine-learning self-supervised-learning stl-10 tensorflow unsupervised-learning

Last synced: 21 days ago
JSON representation

Self-Supervised Feature Learning by Learning to Spot Artifacts. In CVPR, 2018.

Awesome Lists containing this project

README

          

# Self-Supervised Feature Learning by Learning to Spot Artifacts [[Project Page]](https://sjenni.github.io/LearningToSpotArtifacts/)

This repository contains demo code of our CVPR2018 [paper](https://arxiv.org/abs/1806.05024). It contains code for unsupervised training on the unlabeled training set of STL-10 and code for supervised finetuning and evaluation on the labeled datasets.

## Requirements
The code is based on Python 2.7 and tensorflow 1.12. See requirements.txt for all required packages.

## How to use it

### 1. Setup

- Set the paths to the data and log directories in **globals.py**.
- Run **init_datasets.py** to download and convert the STL-10 dataset.

### 2. Unsupervised Training

- To pre-train the autoencoder run **train_autoencoder_stl10.py**
- To train the classifier and the repair network run **train_stl10.py**

### 3. Transfer & Evaluation

- To finetune the learnt representations run **fine_tune_stl10.py**
- To evaluate the finetuned classifier run **test_classifier_stl10.py**