bnsreenu / python_for_microscopists

https://www.youtube.com/channel/UC34rW-HtPJulxr5wp2Xa04w?sub_confirmation=1
MIT License
3.91k stars 2.39k forks source link

OSError: No file or directory found at models/satellite_standard_unet_100epochs.hdf5 #70

Open nagamani-g opened 1 year ago

nagamani-g commented 1 year ago

Hello All. when i executed semantic segmentation using unet code for 100 epochs, i got memory exhausted error and now i upgraded my system to 16GB RAM and i7 processor and executed the program. now my output is IoU graph and after it i am encountering the error " load_ model raise IOError( OSError: No file or directory found at models/satellite_standard_unet_100epochs.hdf5" ). I don't have any graphic card in my system. can you please help me out to resolve this issue as well please suggest the configuration required to run this successfully. Thank you.

clevercoolvip commented 9 months ago

The error is not due to your hardware at all, Problem:

  1. Your model might not be in the "/models/" folder
  2. There might be an error with the naming of the file

Solution:

  1. Try to use "path" in "os" module in python

    P.s. - Please provide the folder hierarchy to know the exact solution

longPeoo commented 5 months ago

where can I find the model "satellite_standard_unet_100epochs.hdf5". I did not see it in the github