tsne-grid

This is a python script for t-SNE visualization of multiple images in a square grid.

Setup

Dependencies:

Usage

Basic usage:

python tsne_grid.py --dir ./examples/inputs/ --size 4

Options (required)

Options (optional)

Implementation details

VGG16 (without fc layers on top) is used to generate high dimensional feature representations of images. 2D representaions of these features are formed using scikit-learn's t-SNE implementation. These 2D representations are converted into a square grid using Jonker-Volgenant algorithm.

Support

The script was tested with tensorflow (1.4.0) and keras (2.1.1) on Nvidia GeForce GT 740M

References