Icon

Deploying CNN Predictor for cats and dogs images - Deep Learning

There has been no title set for this workflow's metadata.

Classifying Images of Cats and Dogs - Deployment

This workflow reads images of cats and dogs and applies a trained CNN to classify whether there is a dog or a cat on an image.

Reference:
F. Villaroel Ordenes & R. Silipo, “Machine learning for marketing on the KNIME Hub: The development of a live repository for marketing applications”, Journal of Business Research 137(1):393-410, DOI: 10.1016/j.jbusres.2021.08.036.

URL: Dataset on Kaggle https://www.kaggle.com/c/dogs-vs-cats/data

Annotations and comments
  • 1. Read and preprocess new images: This part of the workflow reads images of cats and dogs and performs the same image preprocessing from the training workflow "01_Classifying_Cats_and_Dogs_Training - km".
  • 2. Read and apply trained network: This workflow part reads and applies the trained network over new images.
  • IMPORTANT! To execute the workflow you need to download the test dataset from Kaggle and update the path in the List Files / Folders Node inside this metanode https://www.kaggle.com/c/dogs-vs-cats/data
  • Remove superfluous columns
  • Set up conda environment
  • Normalize between 0..1
  • Read images
  • Resize to 150x150
  • Apply the model on new data
  • Read trained model
  • Select folder with with images
  • Only 100 images are used in this deployment workflow
  • Sort by path name.
  • Unify RowIDs
  • output >= 0.5 Cat output <0.5 Dog

Nodes

Extensions

Links