TypeError: The added layer must be an instance of class Layer. Found: <keras.engine.training.Model object at 0x7fa5bee17ac8>
问题 I am try to train a model using Xception /Inception Model of keras library but I face value error Dataset which I use it from kaggle commuinity and Notebook which I refer Notebook But I am try to use different Model like Xception /Inception but silmilar idea not work for me with strategy.scope(): enet = keras.applications.inception_v3.InceptionV3( input_shape=(512, 512, 3), weights='imagenet', include_top=False ) model = tf.keras.Sequential([ enet, tf.keras.layers.GlobalAveragePooling2D(), tf