MCPcopy Create free account
hub / github.com/VCIP-RGBD/DFormer / show_prediction

Function show_prediction

utils/visualize.py:15–19  ·  view source on GitHub ↗
(colors, background, img, pred, gt)

Source from the content-addressed store, hash-verified

13
14
15def show_prediction(colors, background, img, pred, gt):
16 im = np.array(img, np.uint8)
17 set_img_color(colors, background, im, pred, gt)
18 final = np.array(im)
19 return final
20
21
22def show_img(colors, background, img, clean, gt, *pds):

Callers

nothing calls this directly

Calls 1

set_img_colorFunction · 0.85

Tested by

no test coverage detected