CrackSegNet
CrackSegNet copied to clipboard
'No such file or directory' about name = 'ImprovedFCN.hdf5' when run the main.py
Hello:
when I run the main.py, there is the error as follow:
File "G:/代码学习/Crack Detection/cracksegnet/CrackSegNet-master/main.py", line 79, in <module> model = unet3s2('G:\代码学习\Crack Detection\cracksegnet\model\ImprovedFCN.hdf5') File "G:\代码学习\Crack Detection\cracksegnet\model.py", line 80, in unet3s2 model.load_weights(pretrained_weights)
and
File "h5py\_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py\_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py\h5f.pyx", line 88, in h5py.h5f.open OSError,
While the main.py and model.py are't in the same directory, what should I do ?
Thank you very much!!