yfeng95 / DECA

DECA: Detailed Expression Capture and Animation (SIGGRAPH 2021)
Other
2.12k stars 421 forks source link

TypeError: '<=' not supported between instances of 'list' and 'int' #180

Open flydragon2018 opened 1 year ago

flydragon2018 commented 1 year ago

pytorch3d/renderer/mesh/rasterize_meshes.py", line 115, in rasterize_meshes if image_size <= 64: TypeError: '<=' not supported between instances of 'list' and 'int'

using pytorch3d

I am using python3.8

by the way, Did anyone use recent version of torch+torchvision successfully? what the requirements.txt is?

flydragon2018 commented 1 year ago

if I use the default "standard", error as below:

File "/usr/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

zemooo7 commented 1 year ago

the second problem: Command '['ninja', '-v']' returned non-zero exit status 1. could be solved by changing ['ninja', '-v'] to ['ninja', '--version'] but it comes with another problem: ImportError: No module named 'standard_rasterize_cuda' and I don't know hwo to solve it