update to nerfacc 0.5.1. Upgrade instant-ngp model.

This commit is contained in:
Ruilong Li committed 2023-04-09 09:35:39 +00:00
1 parent 2fff9308e0
commit 04ccc32cdf
15 files changed
+165 -158

No files matched your search

+3 -1
View File
@@ -168,7 +168,9 @@ def test_equall_nerfacc():
# time2 = time.time()
# time3 = time.time()
t_min_nerfacc, t_max_nerfacc = nerfacc.ray_aabb_intersect(origins, directions, aabb)
t_min_nerfacc, t_max_nerfacc, _ = nerfacc.ray_aabb_intersect(origins, directions, aabb[None, :])
t_max_nerfacc = t_max_nerfacc.squeeze(-1)
t_min_nerfacc = t_min_nerfacc.squeeze(-1)
# time4 = time.time()
# print("pytorch ", time2-time1)