MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / process_image

Method process_image

tensorpack/callbacks/monitor.py:85–91  ·  view source on GitHub ↗

Args: val (np.ndarray): 4D (NHWC) numpy array of images in range [0,255]. If channel is 3, assumed to be RGB.

(self, name, val)

Source from the content-addressed store, hash-verified

83 pass
84
85 def process_image(self, name, val):
86 """
87 Args:
88 val (np.ndarray): 4D (NHWC) numpy array of images in range [0,255].
89 If channel is 3, assumed to be RGB.
90 """
91 pass
92
93 def process_event(self, evt):
94 """

Callers 1

put_imageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected