Spaces:
Running on Zero
Running on Zero
File size: 263 Bytes
7547a6b | 1 2 3 4 5 6 7 8 9 10 11 | import torch
from dataclasses import dataclass
@dataclass
class Prediction:
coords: torch.Tensor # (B, T, N, 3)
visibs: torch.Tensor # (B, T, N)
def __post_init__(self):
assert not self.coords.requires_grad and not self.visibs.requires_grad
|