janericlenssen / noise-as-targets-tensorflow

Noise-as-targets representation learning for cifar10. Implementation based on the paper "Unsupervised Learning by Predicting Noise" by Bojanowski and Joulin.
22 stars 7 forks source link

noise-as-targets-tensorflow

Noise-as-targets representation learning for cifar10. Implementation based on the arxiv-paper "Unsupervised Learning by Predicting Noise" by Bojanowski and Joulin: https://arxiv.org/abs/1704.05310

Training:

  1. Set model_dir and data_dir parameters in cifar10_natenc_train.py
  2. Run cifar10_natenc_train.py

Get neighbors:

  1. Set model_dir and out_path parameters in cifar10_natenc_getNeighbors.py
  2. Run cifar10_natenc_getNeighbors.py

Current status: Freezed. Best cifar10 test classification accuracy after 50 epochs of unsupervised training: 43,8%, not clear how to chose parameters, discussions, feedback or suggestions are welcome!

Example results of nearest neighbor search on the learned representation (for Cifar 10 test examples):

Examples for nearest neighbor search

First column: query images, second to sixth columns: nearest neighbors.