Closed ChairManMeow-SY closed 1 year ago
Thanks so much! your record helps me a lot!
hello, when i do the step 4, i have the problem "Running setup.py install for psbody-mesh did not run successfully.", how can i solve it ?
Hi yichen, I notice it may be a compiling error:
D:\git_data\mesh\mesh\src\AABB_n_tree.h(9): fatal error C1083: Cannot open include file: 'CGAL/AABB_tree.h': No such file or directory
The compiler can not find the CGAL head file. It is strange because the package should contain a CGAL package in the folder D:\git_data\mesh\mesh\thirdparty\ .
Please check it or you may decode it manually.
hello, when i do the step 4, i have the problem "Running setup.py install for psbody-mesh did not run successfully.", how can i solve it ?
Hi yichen, I notice it may be a compile error:
D:\git_data\mesh\mesh\src\AABB_n_tree.h(9): fatal error C1083: Cannot open include file: 'CGAL/AABB_tree.h': No such file or directory
The compiler can not find the CGAL head file. It is strange because the package should contain a CGAL package in the folder D:\git_data\mesh\mesh\thirdparty\ .
Please check it or you may decode it manually.
thank your response, I took a very stupid mistake: i didn't git checkout the right branch……
hello, when i do the step 4, i have the problem "Running setup.py install for psbody-mesh did not run successfully.", how can i solve it ?
Hi yichen, I notice it may be a compile error: D:\git_data\mesh\mesh\src\AABB_n_tree.h(9): fatal error C1083: Cannot open include file: 'CGAL/AABB_tree.h': No such file or directory The compiler can not find the CGAL head file. It is strange because the package should contain a CGAL package in the folder D:\git_data\mesh\mesh\thirdparty\ . Please check it or you may decode it manually.
thank your response, I took a very stupid mistake: i didn't git checkout the right branch……
Great to know the problem solved!
hello,firstly thank your for your record,it helped me so much, but i found there is no sound in my output.mp4,have you ever encountered this problem? If so, can I ask you how to solve it
hello,firstly thank your for your record,it helped me so much, but i found there is no sound in my output.mp4,have you ever encountered this problem? If so, can I ask you how to solve it
hi there~可以看一下step 6的函数最后几行:
cmd='ffmpeg -i %s -i %s %s' %(tmp_file,wav_path,video_fname)
可以参考这个cmd,在python脚本里面对音视频组装,或者在命令行里面手动调用ffmpeg。tmp_file 指的是网络的输出文件, wav_path是输入的音频文件,video_fname是你希望保存的文件名。
I got the program running, thank you so much😁
Thanks for authors to share this excellent job!
I just successfully ran the demo on Windows 10. It is painful to search the documents and solve some problems... Here I record it to help anyone who want to run it on windows too.
My env OS: windows 10 GPU: GTX 3080 Ti CPU: Intel 12th Python with conda env
Step 1. Install packages in requirements.txt
The only thing you should pay attention to is the transformers version. Use the following command:
Step 2. Install pyopengl Do not use 'pip install pyopengl' directly because it offers a package lacking some libraries (It is amazing but true...). Download the .whl file from here and install it with:
Note that do not install the opengl before you have installed the pyrender!! This will uninstall your pyopengl and install a pypi version, which lacks the necessary libraries.
Step 3. Install boost Just do with the google instructions.
Step 4. Install mesh Download the mesh from here and following its readMe, i.e.
Step 5. Install ffmpeg You can find a pre-compiled version from ffmpeg website. Just double click it.
Step 6. Revise the demo.py Finally we have install all the necessary packages. But if you run the demo directly, it will throw an error: can not find osmesa. The easist way to solve it is to comment this line:
The pyrender will use pyglet for off-screen rendering. Some explainations can be found here.
Then replace the render_sequence(args) funciton with the following code
Here are two modifications:
Then enjoy it now : )