PRNet-PyTorch icon indicating copy to clipboard operation
PRNet-PyTorch copied to clipboard

OSError: Failed to interpret file 'data/images/AFLW2000-crop/image00002/image00002_cropped.jpg' as a pickle

Open deepdarkfans opened this issue 4 years ago • 3 comments

I had this error when I set --isVisualize=1,how do I solve this problem?

deepdarkfans avatar Jul 30 '20 13:07 deepdarkfans

oh,I fix this problem,just change the test_data[i].cropped_image_path to test_data[i].cropped_posmap_path but then I get two pictures like this. I do not understand why I get this picture and stand for what image image

deepdarkfans avatar Jul 30 '20 14:07 deepdarkfans

I saved the image as a .npy file in the earlier version and forget to change it. You can just replace np.load() by io.imread().

reshow avatar Aug 09 '20 19:08 reshow

Hey, i just change the np.load() by io.imread(), and i get this picture. My question is, how to show the alignment results like the example you give. Thanks Figure_1

rakacendekia avatar Jul 25 '21 16:07 rakacendekia