daniilidis-group / neural_renderer

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

Installation error for both master and at_assert_fix. #101

Open ShuangjunLiu opened 3 years ago

ShuangjunLiu commented 3 years ago

Hello, I failed to install the neural_renderer via pip install. It still didn't work after I checkout the 'at_assert_fix.py' branch.
There log shows tons of warnings and errors. To make it less crowded here, I list the last few lines of errors here.

... C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1380): error C3203: 'templated_iterator': unspecia lized class template can't be used as a template argument for template parameter '_Ty1', expected a real type C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1438): note: see reference to class template insta ntiation 'ska::flat_hash_map<K,V,H,E,A>' being compiled C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1384): error C3203: 'templated_iterator': unspecia lized class template can't be used as a template argument for template parameter '_Ty1', expected a real type C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1392): error C3203: 'templated_iterator': unspecia lized class template can't be used as a template argument for template parameter '_Ty1', expected a real type C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1474): error C3203: 'templated_iterator': unspecia lized class template can't be used as a template argument for template parameter '_Ty1', expected a real type C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1511): note: see reference to class template insta ntiation 'ska::flat_hash_set<T,H,E,A>' being compiled C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1479): error C3203: 'templated_iterator': unspecia lized class template can't be used as a template argument for template parameter '_Ty1', expected a real type C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1483): error C3203: 'templated_iterator': unspecia lized class template can't be used as a template argument for template parameter '_Ty1', expected a real type C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1487): error C3203: 'templated_iterator': unspecia lized class template can't be used as a template argument for template parameter '_Ty1', expected a real type C:/Anaconda3/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1491): error C3203: 'templated_iterator': unspecia lized class template can't be used as a template argument for template parameter '_Ty1', expected a real type error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin\nvcc.exe' failed with exit status 2

My env:
windows10, python3.7, pytorch 1.3

Thanks.