Caffe and KNN as a service
To run the examples below, you will need to have the caffe service, knn service and the routers running. See Getting Started for instructions on building and starting these services.
The examples are available as ipython notebooks. If you followed the instructions in Getting Started, you will already have ipython notebook installed on your vagrant instance.
To run the examples interactively, run fab start_ipynb
and navigate to localhost:10000
in a browser on your host machine (The vagrant instance is setup to forward the port 10000 to your host machine). You can run the examples notebook from here.
Alternatively, you can view the rendered notebooks (without running them) below
Notebook Path: examples/similar_images.ipynb [Rendered Notebook]
Generate embeddings for images using Deep Learning of Binary Hash Codes for Fast Image Retrieval and retrieve the top-5 nearest neighbours. For images in the cifar-10 categories.