mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-05 23:38:42 +08:00
Fix linting errors throughout repo
This commit is contained in:
1 parent
0061b59b79
commit
c2a851ed92
8 files changed
+24
-11
No files matched your search
@@ -2,11 +2,12 @@
|
||||
Collection of sampling strategies
|
||||
"""
|
||||
from typing import NamedTuple
|
||||
from torchtyping import TensorType
|
||||
from torch import nn
|
||||
import torch
|
||||
import nerf.cameras as cameras
|
||||
|
||||
import torch
|
||||
from torch import nn
|
||||
from torchtyping import TensorType
|
||||
|
||||
from mattport.nerf import cameras
|
||||
|
||||
RaySamples = NamedTuple(
|
||||
"RaySamples", [("locations", TensorType[..., "num_samples", 3]), ("deltas", TensorType[..., "num_samples"])]
|
||||
|
||||
Reference in new issue
Block a user