Spaces:
mashroo
/
Running on Zero

CRM / model /crm /model.py

Commit History

Add debug logging for color statistics in CRM model
293fbf3

YoussefAnso commited on

Refactor app.py and inference.py to streamline image generation and mesh export processes. Removed unnecessary CPU transfers and temporary file handling, directly returning generated GLB paths. Updated mesh export in CRM model to support vertex colors and improved overall efficiency in texture mapping.
1fa688f

YoussefAnso commited on

Fix variable names in mesh export for CRM model to enhance clarity and maintain consistency with previous changes. Updated vertices and faces variable names for better readability.
b2dc9cc

YoussefAnso commited on

Update mesh export in CRM model to use GLB format with correct vertex and face transformations. This change enhances compatibility and improves file handling by exporting to a .glb file instead of .obj.
6a7c61b

YoussefAnso commited on

Refactor gen_image function in app.py to return base64 encoded GLB data instead of a file path. Update mesh export in inference.py to return .obj file extension. Modify Mesh class to streamline GLB export and enhance texture handling, ensuring proper integration of vertex attributes.
81d5d11

YoussefAnso commited on

Refactor gen_image function in app.py to create temporary GLB files in a persistent directory, improving file management. Update CRM model to transform vertices and faces for correct GLB coordinate system compatibility.
f2cf584

YoussefAnso commited on

Add vertex color support in Mesh class and update GLB export in CRM model. Enhance mesh attributes and material handling for vertex colors, ensuring proper integration in GLTF format.
4bc1108

YoussefAnso commited on

rotate
8720463

Zhengyi commited on

remove cuda
1ec230c

Zhengyi commited on

remove codes to inference
8216438

Zhengyi commited on

init
f4e8cf6

Zhengyi commited on