About the Demo

This demo is created by Yangqing Jia and Jeff Donahue at the University of California, Berkeley. The demo code lives purely in the realm of Python, with flask as the front-end server.

The classifier is a convolutional neural network trained using data from ImageNet with 1,000 classes. You can view the training data here. The images are reshaped so that the shorter side has length 256, and the centre 256x256 part is cropped for training. When we perform classification on your image, we take the four corners and the center of the image (all of size 227x227) and their mirrored versions, and average the predictions on these images. The top 5 predictions as well as their scores among the 1000 classes are shown.

You may want to check out Alex Krizhevsky's NIPS 2012 paper for the details of the CNN model.


About Decaf

Decaf is a general python framework for deep convolutional neural networks, relying on a set of scientific computation modules (such as numpy/scipy) to efficiently run CNN models without the need of a GPU. If you are a UCB/ICSI vision group member, fork the code here.

For the demo, our code usually performs classification at a speed of 0.5 seconds per image. Our server also serves our daily research usage, so if the demo speed is low, it's because we are working hard towards a better model.


Disclaimer

In short, enjoy the website, but don't sue us. A more lawyer-readable disclaimer can be found HERE.