mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-20 06:35:36 +08:00
Adios mattport
This commit is contained in:
1 parent
9d2b34ab60
commit
b26408eb7a
86 files changed
+176
-176
No files matched your search
@@ -2,9 +2,9 @@
|
||||
Test the CUDA bindings.
|
||||
"""
|
||||
import torch
|
||||
from mattport.cuda.sampler import Sampler
|
||||
from radiance.cuda.sampler import Sampler
|
||||
import time
|
||||
import mattport_cuda
|
||||
import radiance_cuda
|
||||
import os
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ def test_benchmark():
|
||||
print("PYTORCH_SAMPLE_TIME:", PYTORCH_SAMPLE_TIME)
|
||||
|
||||
start = time.time()
|
||||
time_steps_cu, samples_cu, time_steps_mask_cu = mattport_cuda.sample_uniformly_along_ray_bundle(
|
||||
time_steps_cu, samples_cu, time_steps_mask_cu = radiance_cuda.sample_uniformly_along_ray_bundle(
|
||||
origins, directions, nears, fars, offsets, max_num_samples
|
||||
)
|
||||
CUDA_SAMPLE_TIME = time.time() - start
|
||||
|
||||
Reference in new issue
Block a user