Hello! First of all, thank you for sharing your code on github. I had the honor to reproduce your program recently, but encountered a problem, as follows:
Traceback (most recent call last):
File "net.py", line 162, in
train_SRCNN(images)
File "net.py", line 92, in train_SRCNN
train_data, train_label = load_data(train_path)
File "net.py", line 24, in load_data
with h5py.File(path, 'r') as hf:
File "/root/anaconda3/lib/python3.7/site-packages/h5py/_hl/files.py", line 408, in init
swmr=swmr)
File "/root/anaconda3/lib/python3.7/site-packages/h5py/_hl/files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
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: Unable to open file (unable to open file: name = './checkpoint/train.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Can you help me solve this problem? Thank you for reading during your busy schedule and wish you a happy life!
Hello! First of all, thank you for sharing your code on github. I had the honor to reproduce your program recently, but encountered a problem, as follows:
Traceback (most recent call last): File "net.py", line 162, in
train_SRCNN(images)
File "net.py", line 92, in train_SRCNN
train_data, train_label = load_data(train_path)
File "net.py", line 24, in load_data
with h5py.File(path, 'r') as hf:
File "/root/anaconda3/lib/python3.7/site-packages/h5py/_hl/files.py", line 408, in init
swmr=swmr)
File "/root/anaconda3/lib/python3.7/site-packages/h5py/_hl/files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
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: Unable to open file (unable to open file: name = './checkpoint/train.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Can you help me solve this problem? Thank you for reading during your busy schedule and wish you a happy life!