<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 The following will download a pretrained neural net model for the notebook on image classification.
Step1:  The following checks that scikit-image is properly installed
Step2:  Optional
<ASSISTANT_TASK:>
Python Code:
import sys
print("python command used for this notebook:")
print(sys.executable)
import tensorflow as tf
print("tensorflow:", tf.__version__)
from tensorflow.keras.applications.resnet50 import preprocess_input, ResNet50
model = ResNet50(weights='imagenet')
Explanation: The following will download a pretrained neural net model for the notebook on image classification.
End of explanation
from skimage.io import imread
from skimage.transform import resize
Explanation: The following checks that scikit-image is properly installed:
End of explanation
import cv2
Explanation: Optional: Check that opencv-python is properly installed:
End of explanation
<END_TASK>