this was the error:
ValueError Traceback (most recent call last)
<ipython-input-56-84713bdbff2f> in <module>()
57
58
---> 59 base_model = tf.keras.applications.vgg16.VGG16(weights = 'imagenet', include_top = False, input_shape = (-1,100,100))
60 for layer in base_model.layers:
61 layer.trainable = False
1 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/applications/imagenet_utils.py in obtain_input_shape(input_shape, default_size, min_size, data_format, require_flatten, weights)
364 if input_shape[-1] != 3 and weights == 'imagenet':
365 raise ValueError('The input must have 3 channels; got '
--> 366 '`input_shape=' + str(input_shape) + '`')
367 if ((input_shape[0] is not None and input_shape[0] < min_size) or
368 (input_shape[1] is not None and input_shape[1] < min_size)):
ValueError: The input must have 3 channels; got `input_shape=(-1, 100, 100)`