MCPcopy Create free account
hub / github.com/294coder/Dif-PAN / log_image

Method log_image

utils/logger.py:83–85  ·  view source on GitHub ↗
(self, tag: str, image: Tensor, step: int)

Source from the content-addressed store, hash-verified

81
82 @beartype
83 def log_image(self, tag: str, image: Tensor, step: int):
84 self._tb_print(f"add tb image {tag}: {image.shape}")
85 self.writer.add_image(tag, image, step)
86
87 @beartype
88 def log_images(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected