soubhiksanyal / RingNet

Learning to Regress 3D Face Shape and Expression from an Image without 3D Supervision
https://ringnet.is.tue.mpg.de
MIT License
821 stars 170 forks source link

Any way to get RingNet run on Colab? #36

Open xamxixixo opened 4 years ago

xamxixixo commented 4 years ago

Hello, since my computer does not support CUDA 9, so I installed it on Google Colab. But Colab does not support virtualenv, and RingNet requires virtualenv to use Mesh.

Any way to get RingNet run on Colab? Thank you.

soubhiksanyal commented 4 years ago

I have never tried to run it on Colab. But theoretically it should be possible. We use psbody.mesh to save the mesh obj files. You can use any other mesh packages like trimesh or something else to do so which might be compatible with colab.

Sarmyt commented 3 years ago

@xamxixixo Hi, I am also interested in running RingNet on Colab. Were you able to make it work?

Fsajjad99 commented 3 years ago

@Sarmyt I was able to make it work. Now the inference code given here works perfectly fine on colab. If you have specific question let me know, I may be of help. @xamxixixo I skipped the virtual env part because colab notebook essentially makes a VM for current session so I didnt think it was necessary to make a virtual env. Apart from that, install tensorflow==1.12.0 alongwith tensorflow-gpu==1.12.0 Also the mesh package in the fork: https://github.com/TimoBolkart/mesh
worked for me.

anhminh3105 commented 1 year ago

@Fsajjad99 do you mind sharing the colab notebook? I'm having problems installing the environment for Python 2.7 there

Fsajjad99 commented 1 year ago

Sorry I was away on work related thing. Would send as soon as i get cellular coverage.

On Mon, 29 May 2023, 3:59 am Anh Minh, @.***> wrote:

@Fsajjad99 https://github.com/Fsajjad99 do you mind sharing the colab notebook? I'm having problems installing the environment for Python 2.7 there

— Reply to this email directly, view it on GitHub https://github.com/soubhiksanyal/RingNet/issues/36#issuecomment-1566294030, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASBX5KSP322GJBASGTJJT73XIPKFBANCNFSM4MIKIDHA . You are receiving this because you were mentioned.Message ID: @.***>

FlorianWeiser commented 1 year ago

Hey @Fsajjad99, I'm interested in the notebook as well. Would you mind sharing the link to Colab or mailing it to me?