daniilidis-group / neural_renderer

A PyTorch port of the Neural 3D Mesh Renderer
Other
1.14k stars 254 forks source link

error: ‘AT_CHECK’ was not declared in this scope #87

Closed Pinnh closed 4 years ago

Pinnh commented 4 years ago

In higher version torch , that AT_CHECK function is changed to TORCH_CHECK

hamaadtahir commented 4 years ago

how to solve this issue with pytorch 0.4.0 and python3?

Pinnh commented 4 years ago

so simple ,upgrade your pytorch version

hamaadtahir commented 4 years ago

to which one?

IceClear commented 3 years ago

pytorch1.2.0+cuda10.0 works

jugwangjin commented 1 year ago

I'm using pytorch 1.9.1+cuda11.1 and changing AT_CHECK to TORCH_CHECK actually worked. Thank you for your help.