Error while testing trained model

Hi,
I trained the model to detect fire from images using a GPU elsewhere,not using Google Colab. Once the training was done, the person sent me the trained model as well as the json file so that I could run it in Colab and test the model. However, even though I mentioned the correct file path, it gives me an error saying that it was ‘Unable to open the file’. I have attached my files, code and error obtained below. Why am I getting this error and how do I fix it?
image


1 Like

@SruthiRam An error must have occurred when the file was saved or downloaded. I will suggest you use another model saved during the training.

1 Like

Okay thank you will do.

That worked! The model is able to detect fire in images! Is there anyway to detect the intensity of fire from the output using the library?