Spaces:
Running on Zero

StreamTAP3D / training /datatypes.py
Charlie839242's picture
Add StreamTAP3D mask-only ZeroGPU demo
7547a6b
Raw History Blame Contribute Delete
263 Bytes
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