How can I use model?

I trained a model using to classify cats versus dogs. Now, How can I use this model to test my custom data? Could you suggest to me some posts or some videos? Thank you.

Hi, I guess you will have to use model.predict, as shown in the course’s first notebook :

See section “Model prediction”.

HTH!

if you trained the model on your computer and not in a collab session you need to save the model first, add this code after the model.fit() :
model.save(r"your_path")

to use the model in another program or function just laod it and use it like this:

model = tf.keras.models.load_model(r"your_path")
model.predict(your_data)