Fix linting errors throughout repo

This commit is contained in:
Matt Tancik committed 2022-04-11 17:04:08 -07:00
1 parent 0061b59b79
commit c2a851ed92
8 files changed
+24 -11

No files matched your search

+5 -4
View File
@@ -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"])]