Preprocess image data

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

This is a companion discussion topic for the original entry at

I had error when run this workflow as below:
ERROR Python Script (1⇒1) (deprecated) 3:283:261 Execute failed: No module named ‘keras’
Traceback (most recent call last):
File “”, line 4, in
ModuleNotFoundError: No module named ‘keras’