ComfyUI-3D-Pack
ComfyUI-3D-Pack copied to clipboard
Commit 9e99a471cfbcd10a337844a74fe7fc801d5badf1 broke the Era3D diffusion model
Error on .to(), the dtype and device are given as positional arguments but the order is wrong, fix by specifying the parameter name:
# [N, 3, H, W] -> [N, H, W, 3]
multiview_images = images_pred.permute(0, 2, 3, 1).to(dtype=reference_image.dtype, device=reference_image.device)
multiview_normals = normals_pred.permute(0, 2, 3, 1).to(dtype=reference_image.dtype, device=reference_image.device)
Thanks for letting me know, I'll fix it in the next update 👍