nianticlabs / diffusionerf

[CVPR 2023] DiffusioNeRF: Regularizing Neural Radiance Fields with Denoising Diffusion Models
MIT License
287 stars 15 forks source link

Update C++ Standard to C++17 for PyTorch 2.1.0 compatibility and fix SSIM calculation #16

Open Wenri opened 7 months ago

Wenri commented 7 months ago

Description

This pull request updates the project's C++ standard from C++14 to C++17 to ensure compatibility with PyTorch 2.1.0, which now requires C++17 as a minimum. It also fixes a minor issue in the SSIM calculation function where data_range is explicitly set to 2.

Changes

Testing

Related Issues/Fixes

Please review these changes and let me know if there are any concerns or modifications needed before merging this pull request. Thank you for considering my contribution!