12 Commits

Author SHA1 Message Date
Akasei
b6685c9560 feat: add batch 3D generation script with VRAM optimization
- Add batch_generate.py: two-phase pipeline (shape→texture) that loads
  models sequentially to avoid OOM on RTX 3080
- Fix mesh_utils.py: make bpy import lazy so load_mesh/save_mesh work
  without Blender installed
- Phase 1: shape generation for all images, then unload
- Phase 2: texture generation for all meshes, then unload
- Skip already-generated outputs for resumability
- Tested: 9/9 images successfully generated textured GLB models

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-16 20:20:46 +08:00
qinmaohui
663ee27446 还原对于custom_rasterizer_kernel的修改 2025-09-10 22:37:29 +08:00
qinmaohui
928f41b289 将原文件恢复,新建custom_rasterizer_kernel_for_windows文件夹放置修改的文件 2025-09-10 09:04:36 +08:00
qinmaohui
7facf4b459 修复在windows系统中安装custom_rastorizer报错 2025-07-10 17:22:47 +08:00
SyncTwin GmbH
0506243637 next 2025-06-28 11:49:13 +02:00
ahaemhumright
1307e90930 Update texture README.md 2025-06-17 13:54:38 +08:00
Huiwenshi
dd93e7ce4e fix some 2025-06-14 14:32:20 +08:00
Zeqiang Lai
e447d666f6 fix pbr model 2025-06-14 11:26:32 +08:00
Zeqiang Lai
dfcd5c829d fix huggingface loading 2025-06-14 10:35:18 +08:00
DenisKochetov
b5285d7e99 fix error path to cfg
Traceback (most recent call last):
  File "/home/ubuntu/Hunyuan3D_2.1/demo.py", line 37, in <module>
    paint_pipeline = Hunyuan3DPaintPipeline(conf)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/Hunyuan3D_2.1/hy3dpaint/textureGenPipeline.py", line 86, in __init__
    self.load_models()
  File "/home/ubuntu/Hunyuan3D_2.1/hy3dpaint/textureGenPipeline.py", line 91, in load_models
    self.models["multiview_model"] = multiviewDiffusionNet(self.config)
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/Hunyuan3D_2.1/hy3dpaint/utils/multiview_utils.py", line 32, in __init__
    cfg = OmegaConf.load(cfg_path)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/anaconda3/envs/comfy/lib/python3.12/site-packages/omegaconf/omegaconf.py", line 189, in load
    with io.open(os.path.abspath(file_), "r", encoding="utf-8") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/Hunyuan3D_2.1/cfgs/hunyuan-paint-pbr.yaml'
(comfy) ubuntu@ip-172-31-41-22:~/Hunyuan3D_2.1$
2025-06-13 22:46:59 +03:00
ZebinHe
9a4fd9b6d4 Update README.md 2025-06-14 00:54:21 +08:00
Huiwenshi
c88bee648e init 2025-06-13 23:53:14 +08:00