mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2026-01-23 15:24:25 +08:00
Fix BPT seed out of range and logger relative import fail
This commit is contained in:
parent
c1f95d9a6e
commit
964629b823
@ -32,7 +32,8 @@ from transformers import (
|
||||
Dinov2Model,
|
||||
Dinov2Config,
|
||||
)
|
||||
from ....utils import log
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
def get_1d_sincos_pos_embed_from_grid(embed_dim, pos):
|
||||
"""
|
||||
|
||||
2
nodes.py
2
nodes.py
@ -1517,7 +1517,7 @@ class Hy3DBPT:
|
||||
"required": {
|
||||
"trimesh": ("TRIMESH",),
|
||||
"enable_bpt": ("BOOLEAN", {"default": True}),
|
||||
"seed": ("INT", {"default": 42, "min": 0, "max": 0xffffffffffffffff}),
|
||||
"seed": ("INT", {"default": 42, "min": 0, "max": 0xffffffff}),
|
||||
"temperature": ("FLOAT", {"default": 0.5}),
|
||||
"pc_num": ("INT", {"default": 4096, "min": 1024, "max": 8192, "step": 1024}),
|
||||
"samples": ("INT", {"default": 100000})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user