Open qzane opened 4 years ago
I manually download psbody-mesh and psbody-smpl from https://github.com/MPI-IS/mesh and https://smpl.is.tue.mpg.de/, respectively. For installation, first, just following the installation in MPI-IS/mesh, the package psbody.mesh will be installed into your vitual-env (I use Anaconda3). Then, you can unzip and put the package smpl into the directory of ./bspoby, just with the same level of the folder mesh.
Note that, the original package smpl is only compatible with python2, and it can not be directly used. You need to make some minor modifications.
I also find some problems of compatibility between python2 vs python3 when executing ./prep_data/run.py.
I manually download psbody-mesh and psbody-smpl from https://github.com/MPI-IS/mesh and https://smpl.is.tue.mpg.de/, respectively. For installation, first, just following the installation in MPI-IS/mesh, the package psbody.mesh will be installed into your vitual-env (I use Anaconda3). Then, you can unzip and put the package smpl into the directory of ./bspoby, just with the same level of the folder mesh.
Note that, the original package smpl is only compatible with python2, and it can not be directly used. You need to make some minor modifications.
Thanks for your reply, I'll try to install MPI-IS/mesh. Could you also tell me the python2 version your using for that? Thanks!
Hi qzane, After one day's struggle I have solved this problem in a troublesome way. I installed psbody-mesh 0.1 from https://github.com/TimoBolkart/mesh and bulit it by executing 'make', and then moved the generated folder ./psbody into the ./site-packages of a virtualenv of python2.7. If you want, give me an email adress and I will send an installation doc to you.
Hi qzane, After one day's struggle I have solved this problem in a troublesome way. I installed psbody-mesh 0.1 from https://github.com/TimoBolkart/mesh and bulit it by executing 'make', and then removed the generated folder ./psbody into the ./site-packages of a virtualenv of python2.7. If you want, give me an email adress and I will send an installation doc to you.
Thank you so much, my email is: qzane@live.com
Hey @qzane @wangfudong, were you able to get the b-maps and f-maps for new garment meshes?
@wangfudong, @qzane I am also stuck installing psbody mesh and smpl. could you please sent me the steps also. Thank you! trinanjan1993.@gmail.com
Update on how to execute run.py. the run.py supports only python2 and after generating the data you can shift to python3 env for training(i haven't trained myself)
4.pip install opencv-python==4.0.1.24 pip install scipy==1.2.0
5.go to https://github.com/MPI-IS/mesh/releases and download v0.1 whl file for python2 pip install wheel file should install mesh
pip install pillow==5.0.0 pip install numpy==1.14.5 pip install openDR==0.77
follow @wangfudong advice of manually copying the smpl folder to ./site-packages of a virtualenv . Basically the psbody-mesh is installed inside the site-packages of the virtualenv(pymesh2.7 for me). Trace the location of psbody-mesh inside the virtualenv in your system and copy the smpl folder to ./site-packages/psbody. So now psbody will have 2 folders, mesh and smpl. (smpl folder has to be downloaded from smpl website for python2)
now go inside prep_data and execute run.py. This will take the example from the train/data/pants/front and generate the necessary folders. run.py will show path error for psbody smpl. Fix this by using the correct path. example: in smpl_paths.py from psbody.smpl.smpl_webuser.serialization import load_model
in ch_smpl.py from psbody.smpl.smpl_webuser.posemapper import posemap, Rodrigues from psbody.smpl.smpl_webuser.serialization import backwards_compatibility_replacements
Question Does anyone have any idea how to generate output for high-resolution images? Because the output resolution is not quite good. The textures/patterns of the clothes are not that visible. How come this is different from what has been showcased on the paper??
Hi @qzane @wangfudong @trinanjan12 ,can you execute run.py correctly? The result I got is very strange, human and clothing meshes are vertically rotated and character cannot fit clothes:
I haven't worked on it for a while. This repo wasn't documented that well
@trinanjan12 sorry to disturb you, but may I ask a question: can you execute run.py and get results correctly before?
Yes
@chenw191 Hi, I also encountered this problem. Did you solve it?
@chenw191 Hi, I also encountered this problem. Did you solve it?
No. Hope you can do this.
Did you find a solution?? @chenw191 @LiuXinqi12
Hi, this project is awesome and thanks for sharing the code. I'm trying to test the result with my own texture, and my understanding is that I should first train a new model with my own shirt image and its mask, right?. However when I trying to run
/prep_data/run.py
I got some issue: I don't know where to find and how to installpsbody-mesh
andpsbody-smpl 0.1
. Could you also give more details about the environment for prep_data? Because I find you are using cPickle which is in Python2 while your main demo is using Python3.6.9.