ComfyUI-3D-Pack icon indicating copy to clipboard operation
ComfyUI-3D-Pack copied to clipboard

Commit 9e99a471cfbcd10a337844a74fe7fc801d5badf1 broke the Era3D diffusion model

Open drake7707 opened this issue 1 year ago • 1 comments

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)

drake7707 avatar Sep 24 '24 08:09 drake7707

Thanks for letting me know, I'll fix it in the next update 👍

MrForExample avatar Sep 28 '24 23:09 MrForExample