enriccorona / SMPLicit

Implementation for the paper SMPLicit: Topology-aware Generative Model for Clothed People (CVPR 2021)
http://www.iri.upc.edu/people/ecorona/smplicit/
Other
281 stars 28 forks source link

how can I run without display #11

Open jhkim0759 opened 2 years ago

jhkim0759 commented 2 years ago

Hi thank you for your great work!

Im trying to run fit_smplicit.py at remote server(Linux) but it has an error because of the display

Like this.

['data/images/back2.jpg', 'data/images/front2.jpg', 'data/images/v2.jpg'] /usr/local/lib/python3.7/dist-packages/SMPLicit-0.0.1-py3.7.egg/SMPLicit/SMPL.py:94: UserWarning: This overload of sub is deprecated: sub(Number alpha, Tensor other) Consider using one of the following signatures instead: sub(Tensor other, *, Number alpha) (Triggered internally at /pytorch/torch/csrc/utils/python_arg_parser.cpp:1025.) pose_feature = (Rs[:, 1:, :, :]).sub(1.0, self.e3).view(-1, 207) freeglut (foo): failed to open display ''

I also tried at Colab and had an same error

so I tried at my own labtop but it has a install issue from kaolin

can help me how to run with out display

bbbbubble commented 1 year ago

Hi I have encountered the same problem, lol How did you solve this, could you share with us?

Thank you!

NagabhushanSN24 commented 2 months ago

I tried using pyvirtualdisplay. I am able to get past this error and facing another error now.