next
This commit is contained in:
committed by
Michael Wagner
parent
2d201ec442
commit
0506243637
@@ -38,7 +38,7 @@ class Hunyuan3DPaintConfig:
|
||||
def __init__(self, max_num_view, resolution):
|
||||
self.device = "cuda"
|
||||
|
||||
self.multiview_cfg_path = "cfgs/hunyuan-paint-pbr.yaml"
|
||||
self.multiview_cfg_path = "hy3dpaint/cfgs/hunyuan-paint-pbr.yaml"
|
||||
self.custom_pipeline = "hunyuanpaintpbr"
|
||||
self.multiview_pretrained_path = "tencent/Hunyuan3D-2.1"
|
||||
self.dino_ckpt_path = "facebook/dinov2-giant"
|
||||
|
||||
@@ -29,7 +29,7 @@ class multiviewDiffusionNet:
|
||||
self.device = config.device
|
||||
|
||||
cfg_path = config.multiview_cfg_path
|
||||
custom_pipeline = config.custom_pipeline
|
||||
custom_pipeline = os.path.join(os.path.dirname(__file__),"..","hunyuanpaintpbr")
|
||||
cfg = OmegaConf.load(cfg_path)
|
||||
self.cfg = cfg
|
||||
self.mode = self.cfg.model.params.stable_diffusion_config.custom_pipeline[2:]
|
||||
|
||||
Reference in New Issue
Block a user