AaronJackson / vrn

:man: Code for "Large Pose 3D Face Reconstruction from a Single Image via Direct Volumetric CNN Regression"
http://aaronsplace.co.uk/papers/jackson2017recon/
MIT License
4.52k stars 747 forks source link

Unsupported image type, must be 8bit gray or RGB image. #119

Closed NarenBabuR closed 2 years ago

NarenBabuR commented 5 years ago

/home/tango/usr/local/torch/install/bin/luajit: ./facedetection_dlib.lua:21: Python error: opaque ref: call RuntimeError: Unsupported image type, must be 8bit gray or RGB image.

AaronJackson commented 5 years ago

either open the image in an image editor and save it as an RGB image, or modify the code to accommodate such images.

Data_Science writes:

/home/tango/usr/local/torch/install/bin/luajit: ./facedetection_dlib.lua:21: Python error: opaque ref: call RuntimeError: Unsupported image type, must be 8bit gray or RGB image.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

-- Aaron Jackson - M6PIU http://aaronsplace.co.uk/

NarenBabuR commented 5 years ago

But this issue rises with the images provided by you...

Could you please help me

NarenBabuR commented 5 years ago

This issue comes with every other images. Not able to solve

AaronJackson commented 5 years ago

You might need to upgrade Pillow