mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2025-12-15 15:54:31 +08:00
remove prints
This commit is contained in:
parent
046bb97fac
commit
2755e6b956
@ -485,7 +485,7 @@ class HunyuanPaintPipeline(StableDiffusionPipeline):
|
|||||||
timesteps, num_inference_steps = retrieve_timesteps(
|
timesteps, num_inference_steps = retrieve_timesteps(
|
||||||
self.scheduler, num_inference_steps, device, timesteps, sigmas
|
self.scheduler, num_inference_steps, device, timesteps, sigmas
|
||||||
)
|
)
|
||||||
print("timesteps", timesteps)
|
#print("timesteps", timesteps)
|
||||||
assert num_images_per_prompt == 1
|
assert num_images_per_prompt == 1
|
||||||
# 5. Prepare latent variables
|
# 5. Prepare latent variables
|
||||||
num_channels_latents = self.unet.config.in_channels
|
num_channels_latents = self.unet.config.in_channels
|
||||||
@ -503,7 +503,7 @@ class HunyuanPaintPipeline(StableDiffusionPipeline):
|
|||||||
latents,
|
latents,
|
||||||
denoise_strength=denoise_strength,
|
denoise_strength=denoise_strength,
|
||||||
)
|
)
|
||||||
print("timesteps", timesteps)
|
#print("timesteps", timesteps)
|
||||||
|
|
||||||
# 6. Prepare extra step kwargs. TODO: Logic should ideally just be moved out of the pipeline
|
# 6. Prepare extra step kwargs. TODO: Logic should ideally just be moved out of the pipeline
|
||||||
extra_step_kwargs = self.prepare_extra_step_kwargs(generator, eta)
|
extra_step_kwargs = self.prepare_extra_step_kwargs(generator, eta)
|
||||||
|
|||||||
2
nodes.py
2
nodes.py
@ -1447,7 +1447,7 @@ class Hy3DNvdiffrastRenderer:
|
|||||||
texture = transform(pil_texture).to(device)
|
texture = transform(pil_texture).to(device)
|
||||||
texture = texture.unsqueeze(0).permute(0, 2, 3, 1).contiguous() #need to be contiguous for nvdiffrast
|
texture = texture.unsqueeze(0).permute(0, 2, 3, 1).contiguous() #need to be contiguous for nvdiffrast
|
||||||
else:
|
else:
|
||||||
print("No texture found")
|
log.warning("No texture found")
|
||||||
# Fallback to vertex colors if no texture
|
# Fallback to vertex colors if no texture
|
||||||
uvs = None
|
uvs = None
|
||||||
texture = None
|
texture = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user