SMPLicit icon indicating copy to clipboard operation
SMPLicit copied to clipboard

how can I run without display

Open jhkim0759 opened this issue 3 years ago • 2 comments

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

jhkim0759 avatar Sep 30 '21 06:09 jhkim0759

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

Thank you!

bbbbubble avatar May 05 '23 05:05 bbbbubble

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

NagabhushanSN24 avatar Jul 02 '24 07:07 NagabhushanSN24