DEEP OC Conus Classification

By DEEP-Hybrid-DataCloud Consortium | Created:

services, library/tensorflow, library/lasagne, docker

License: Apache License 2.0

Build Status

Citizen science has become a powerful force for scientific inquiry, providing researchers with access to a vast array of data points while connecting non scientists to the real process of science. This citizen-researcher relationship creates a very interesting synergy, allowing for the creation, execution, and analysis of research projects. With this in mind, a Convolutional Neural Network using ResNet50 has been trained to identify conus marine snails at species level [1] in collaboration with the Natural Science Museum in Madrid [2]. The taxonomy of these snails has changed significantly several times during recent years and the introduction of Deep Learning techniques allowing to classify them is a very valuable tool for the experts.

This Docker container contains a trained Convolutional Neural network optimized for conus snails identification using images. The architecture used is an Xception [3] network using Keras on top of Tensorflow.

The training dataset has been provided by the Museo de Ciencias Naturales de Madrid and it consists on a dataset containing images of 68 species of conus covering three different regions: Panamic region South African region Western atlantic and mediterranean region.

This service is based in the Image Classification with Tensorflow model.

References

[1]: Puillandre, N.; Duda, T.F.; Meyer, C.; Olivera, B.M.; Bouchet, P. (2014). "One, four or 100 genera? A new classification of the cone snails". Journal of Molluscan Studies. 81 (1): 1–23. doi:10.1093/mollus/eyu055. PMC 4541476. PMID 26300576.

[2]: Natural Science Museum of Madrid: http://www.mncn.csic.es/

[3]: Chollet, François. Xception: Deep learning with depthwise separable convolutions arXiv preprint (2017): 1610-02357.

Run locally on your computer

Using Docker

You can run this model directly on your computer, assuming that you have Docker installed, by following these steps:

$ docker pull deephdc/deep-oc-conus-classification-tf
$ docker run -ti -p 5000:5000 deephdc/deep-oc-conus-classification-tf

Using udocker

If you do not have Docker available or you do not want to install it, you can use udocker within a Python virtualenv:

$ virtualenv udocker
$ source udocker/bin/activate
$ git clone https://github.com/indigo-dc/udocker
$ cd udocker
$ pip install .
$ udocker pull deephdc/deep-oc-conus-classification-tf
$ udocker create deephdc/deep-oc-conus-classification-tf
$ udocker run -p 5000:5000  deephdc/deep-oc-conus-classification-tf

Once running, point your browser to http://127.0.0.1:5000/ and you will see the API documentation, where you can test the model functionality, as well as perform other actions (such as training).

For more information, refer to the user documentation.