MCPcopy Create free account
hub / github.com/cvg/NoPoSplat / EncoderVisualizer

Class EncoderVisualizer

src/model/encoder/visualization/encoder_visualizer.py:11–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10
11class EncoderVisualizer(ABC, Generic[T_cfg, T_encoder]):
12 cfg: T_cfg
13 encoder: T_encoder
14
15 def __init__(self, cfg: T_cfg, encoder: T_encoder) -> None:
16 self.cfg = cfg
17 self.encoder = encoder
18
19 @abstractmethod
20 def visualize(
21 self,
22 context: dict,
23 global_step: int,
24 ) -> dict[str, Float[Tensor, "3 _ _"]]:
25 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected