MCPcopy Create free account
hub / github.com/42dot/VFDepth / plot_tb

Function plot_tb

utils/logger.py:37–42  ·  view source on GitHub ↗

This function plots images on tensotboard.

(writer, step, img, title, j=0)

Source from the content-addressed store, hash-verified

35
36
37def plot_tb(writer, step, img, title, j=0):
38 """
39 This function plots images on tensotboard.
40 """
41 img_resized = resize_for_tb(img)
42 writer.add_image(title, img_resized[j].data, step)
43
44
45def plot_norm_tb(writer, step, img, title, j=0):

Callers 1

log_tbMethod · 0.85

Calls 1

resize_for_tbFunction · 0.85

Tested by

no test coverage detected