From c15ae24c7a532df116c0779ca1944dd14387e8ab Mon Sep 17 00:00:00 2001 From: henrisel Date: Fri, 21 Nov 2025 14:39:16 +0200 Subject: [PATCH] tune 3d generation params --- 3d-generation-pipeline/README.md | 3 ++- 3d-generation-pipeline/generate_model_local.py | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/3d-generation-pipeline/README.md b/3d-generation-pipeline/README.md index 66b1676f..d5b53e08 100644 --- a/3d-generation-pipeline/README.md +++ b/3d-generation-pipeline/README.md @@ -1,2 +1,3 @@ ### TODO -* Azure OpenAI API: https://wiki.ut.ee/spaces/AA/pages/218073589/Azure+OpenAI+API+teenus \ No newline at end of file +* Artikkel text-to-3d prompt engineeringu kohta: "Sel3DCraft: Interactive Visual Prompts for User-Friendly Text-to-3D Generation" +* TRELLIS: postprocessing_utils: texture baking mode: 'opt' vs 'fast' - hardcoded 'opt', kui võimaldada 'fast' siis tuleb error diff --git a/3d-generation-pipeline/generate_model_local.py b/3d-generation-pipeline/generate_model_local.py index 49b03c17..03c9e7e4 100644 --- a/3d-generation-pipeline/generate_model_local.py +++ b/3d-generation-pipeline/generate_model_local.py @@ -44,11 +44,12 @@ def generate_no_preview(image_base64: str): 'image_base64': image_base64, 'seed': 42, 'ss_guidance_strength': 7.5, - 'ss_sampling_steps': 30, + 'ss_sampling_steps': 10, 'slat_guidance_strength': 7.5, - 'slat_sampling_steps': 30, - 'mesh_simplify_ratio': 0.95, - 'texture_size': 1024, + 'slat_sampling_steps': 10, + 'mesh_simplify_ratio': 0.99, + 'texture_size': 512, + #'texture_baking_mode': 'opt', 'output_format': 'glb' }