MCPcopy Index your code
hub / github.com/MotrixLab/MotionDiffuse / save_image

Function save_image

text2motion/utils/utils.py:22–24  ·  view source on GitHub ↗
(image_numpy, image_path)

Source from the content-addressed store, hash-verified

20MISSING_VALUE = -1
21
22def save_image(image_numpy, image_path):
23 img_pil = Image.fromarray(image_numpy)
24 img_pil.save(image_path)
25
26
27def save_logfile(log_loss, save_path):

Callers 2

save_imagesFunction · 0.85
save_images_testFunction · 0.85

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected