yfeng95/DECA

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

flydragon2018 opened this issue · 2 comments

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?

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.

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