Compare commits

...

2 Commits

Author SHA1 Message Date
Easymode
657fe64430
Merge cc742005d74f56811330da437fc692275d5e0a89 into e3b3fb25e79060b4f0e5417ee57d30a715eeb487 2025-02-20 02:29:04 +00:00
Easymode
cc742005d7
Update nodes.py
Clear memory before starting BPT operation
2025-02-20 02:29:01 +00:00

View File

@ -1293,7 +1293,8 @@ class Hy3DBPT:
DESCRIPTION = "BPT the mesh using bpt: https://github.com/whaohan/bpt"
def bpt(self, trimesh, enable_bpt, temperature, pc_num, seed, samples):
mm.unload_all_models()
mm.soft_empty_cache()
new_mesh = trimesh.copy()
if enable_bpt:
from .hy3dgen.shapegen.postprocessors import BptMesh