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

Seems only work for torch 2+ #7

Closed
FavorMylikes opened this issue Jan 16, 2024 · 0 comments
Closed

Seems only work for torch 2+ #7

FavorMylikes opened this issue Jan 16, 2024 · 0 comments

Comments

@FavorMylikes
Copy link

Cause

(geodream) root@c757b388f2d0:/data/workspace/GeoDream/mv-diffusion# bash run-volume-by-sd-zero123.sh "An astronaut riding a horse" "ref_imges/demo.png"
[Save Project Name] An_astronaut_riding_a_horse
[Reference View Path] GeoDream/mv-diffusion/One-2-3-45-by-view/ref_imges/demo.png
Instantiating LatentDiffusion...
Traceback (most recent call last):
  File "run.py", line 115, in <module>
    predict_multiview(shape_dir, args)
  File "run.py", line 80, in predict_multiview
    models = init_model(device, 'stable_zero123.ckpt', half_precision=args.half_precision)
  File "/data/workspace/GeoDream/mv-diffusion/One-2-3-45-by-view/utils/zero123_utils.py", line 45, in init_model
    models['turncam'] = torch.compile(load_model_from_config(config, ckpt, device=device)).half()
AttributeError: module 'torch' has no attribute 'compile'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant