Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
MISSING_VALUE = -1
21
22
def
save_image(image_numpy, image_path):
23
img_pil = Image.fromarray(image_numpy)
24
img_pil.save(image_path)
25
26
27
def
save_logfile(log_loss, save_path):
Callers
2
save_images
Function · 0.85
save_images_test
Function · 0.85
Calls
1
save
Method · 0.80
Tested by
no test coverage detected