Fix BPT seed out of range and logger relative import fail

This commit is contained in:
Rajko Stojadinovic 2025-05-14 20:10:52 +02:00
parent c1f95d9a6e
commit 964629b823
2 changed files with 3 additions and 2 deletions

View File

@ -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):
"""

View File

@ -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})