Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit 9e99a471cfbcd10a337844a74fe7fc801d5badf1 broke the Era3D diffusion model #315

Open
drake7707 opened this issue Sep 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@drake7707
Copy link

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 drake7707 changed the title Commit https://github.com/MrForExample/ComfyUI-3D-Pack/commit/9e99a471cfbcd10a337844a74fe7fc801d5badf1 broke the Era3D diffusion model Commit 9e99a471cfbcd10a337844a74fe7fc801d5badf1 broke the Era3D diffusion model Sep 24, 2024
@MrForExample MrForExample added the bug Something isn't working label Sep 28, 2024
@MrForExample
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants