AliaksandrSiarohin / pose-gan

381 stars 78 forks source link

IOError: Unable to open file (unable to open file: name = 'pose_estimator.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) #57

Closed sunshinewhy closed 4 years ago

sunshinewhy commented 4 years ago

when I run compute_coordinates.py, it shows the error: Using TensorFlow backend. Traceback (most recent call last): model = load_model(args.pose_estimator) 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 78, in h5py.h5f.open IOError: Unable to open file (unable to open file: name = 'pose_estimator.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) How can I solve the error?Thanks!

AliaksandrSiarohin commented 4 years ago

Have you download pose estimator pose_estimator.h5 from https://yadi.sk/d/blgmGpDi3PjXvK

sunshinewhy commented 4 years ago

Excuse me, professor. I have download pose_estimator.h5, but when I run compute_coordinates.py, it shows: OSError: [Errno 2] No such file or directory: './results/market_PATN/test_latest/images_crop/' How can I solve this problem? Should I create a new file named images_crop? Thank you!

Shanmukh0028 commented 2 years ago

when I run compute_coordinates.py, it shows the error: Using TensorFlow backend. Traceback (most recent call last): model = load_model(args.pose_estimator) 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 78, in h5py.h5f.open IOError: Unable to open file (unable to open file: name = 'pose_estimator.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) How can I solve the error?Thanks!

@sunshinewhy did you get this error resolved, I am also facing same issue can you please tell me what have you done?