Hub
Pricing About
WorkflowWorkflow

DL 01 - Preprocess Images Cats and Dogs

Deep learningKerasImage classification
mlauber71 profile image
Draft Latest edits on 
Jun 17, 2025 4:41 PM
Drag & drop
Like
Download workflow
Workflow preview

Preprocess image data

In this workflow we pre-process the image data, which we will use throughout the following example workflows.

Please note: The workflow series is heavily inspired by the great blog-post of François Chollet (see https://blog.keras.io/building-powerful-image-classification-models-using-very-little-data.html.)

1. Workflow 01 Preprocess image data: In this workflow we pre-process the image data, which we will use throughout the following example workflows. You can download the data from https://www.kaggle.com/c/dogs-vs-cats/data (file train.zip) and unzip it to a desired location.

2. Workflow 02 Train simple CNN
3. Workflow 03 Fine-tune VGG16 Python

In order to run the example, please make sure you have the following KNIME extensions installed:

- KNIME Deep Learning - Keras Integration (Labs)
- KNIME Image Processing (Community Contributions Trusted)
- KNIME Image Processing - Deep Learning Extension (Community Contributions Trusted)
- KNIME Image Processing - Python Extension (Community Contributions Trusted)
- KNIME Streaming Execution (Labs)

You also need a local Python installation that includes Keras. Please refer to https://www.knime.com/deeplearning#keras for installation recommendations and further information.

External resources

  • KNIME and Python — Setting up and managing Conda environments
  • Keras Cats & Dogs
  • Kaggle - Dogs vs. Cats
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.5.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime
  • Go to item
    KNIME Basic File System ConnectorsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime
  • Go to item
    KNIME Image ProcessingTrusted extension

    University of Konstanz / KNIME

    Version 1.8.3

    bioml-konstanz
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits