mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-16 12:53:44 +08:00
update to nerfacc 0.5.1. Upgrade instant-ngp model.
This commit is contained in:
1 parent
2fff9308e0
commit
04ccc32cdf
15 files changed
+165
-158
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user