reshow / PRNet-PyTorch

The training and evaluation code for PRNet (《Joint 3D Face Reconstruction and Dense Alignment with Position Map Regression Network》)
73 stars 16 forks source link

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

Open deepdarkfans opened 4 years ago

deepdarkfans commented 4 years ago

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

deepdarkfans commented 4 years ago

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

reshow commented 4 years ago

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().

rakacendekia commented 3 years ago

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