ashawkey / nerf2mesh

[ICCV2023] Delicate Textured Mesh Recovery from NeRF via Adaptive Surface Refinement
https://me.kiui.moe/nerf2mesh/
MIT License
879 stars 87 forks source link

Add compatibility for torch 2.1 which based on c++17 #104

Closed bell-one closed 4 months ago

bell-one commented 4 months ago

Add c++17 compatibility with extensions,

after torch 2.1, building pytorch from source requires c++17,

Add version check for torch and add parts to set c++ flags

ashawkey commented 4 months ago

Thanks for your contribution!