The following will download a pretrained neural net model for the notebook on image classification.


In [ ]:
import sys

print("python command used for this notebook:")
print(sys.executable)

In [ ]:
import tensorflow as tf

print("tensorflow:", tf.__version__)

In [ ]:
from tensorflow.keras.applications.resnet50 import preprocess_input, ResNet50
model = ResNet50(weights='imagenet')

The following checks that scikit-image is properly installed:


In [ ]:
from skimage.io import imread
from skimage.transform import resize

Optional: Check that opencv-python is properly installed:


In [ ]:
import cv2

In [ ]: