mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-19 06:14:03 +08:00
Speedup eval and training with better data management (#492)
move to tensors to gpu earlier
This commit is contained in:
1 parent
96e1f2a698
commit
a43776d76d
5 files changed
+13
-12
No files matched your search
@@ -50,5 +50,4 @@ class RayGenerator(nn.Module):
|
||||
camera_indices=c,
|
||||
coords=coords,
|
||||
)
|
||||
ray_bundle.camera_indices = c[..., None] # ["num_rays",1]
|
||||
return ray_bundle
|
||||
Reference in new issue
Block a user