├── README.md ├── extract_features-Nordstrom.ipynb ├── public ├── scatter.html └── tsne-nordstrom-1000.jpeg └── simple_server.lua /README.md: -------------------------------------------------------------------------------- 1 | # dress-scatter 2 | **Visualize dress embeddings** 3 | 4 | Extract the features in extract_features-Nordstrom.ipynb 5 | 6 | Then start a simple server with simple_server.lua (or rails/node/whatever you want) 7 | 8 | Then display the scatterplot by going to 9 | 10 | *http://localhost:8080/public/scatter.html* 11 | 12 | 13 | Hover over an image to show it full size. I am using local images to make this faster but feel free to tweak as desired. 14 | 15 | This is a quick and dirty way I visualize the embeddings. Feel free to make a pull request to add your own. 16 | 17 | I will try to write a blog post about this. 18 | 19 | ![Screenshot](public/tsne-nordstrom-1000.jpeg) 20 | -------------------------------------------------------------------------------- /public/scatter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 34 | 35 | 36 | 37 | 197 | 198 | 199 | -------------------------------------------------------------------------------- /public/tsne-nordstrom-1000.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanealytics/dress-scatter/b7444002f78a2301d016d26e47aabf1902747878/public/tsne-nordstrom-1000.jpeg -------------------------------------------------------------------------------- /simple_server.lua: -------------------------------------------------------------------------------- 1 | local app = require('waffle') { 2 | autocache = false, 3 | public = './public' 4 | } 5 | 6 | app.listen({host = '0.0.0.0', port = 8080}) 7 | --------------------------------------------------------------------------------