Closed sachinkmohan closed 2 years ago
Hi @sachinkmohan ,
this error probably occurred due to a false image path. That is the image_paths variable which is given to the cv2.imread(images_paths) function is probably not correct. There are 3 ways to solve this issue:
Further please check that the given image path contains images (in the same format as the training images) Probably and hopefully if you check all 3 options above your code should be good to go.
Thanks @JanMarcelKezmann for your reply! I checked the directories and gave the full path! I will check this again. I couldn't load the model. This is now an another problem. I will raise an another issue for this.
I am currently running the jupyter notebook from the examples folder. The first one.
When I try to run the above block, I am getting the below error
Somehow the images are not getting generated I guess. Can you please help.