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

‘Str’ object has no attribute device #115

Open
andysingal opened this issue Nov 5, 2023 · 0 comments
Open

‘Str’ object has no attribute device #115

andysingal opened this issue Nov 5, 2023 · 0 comments

Comments

@andysingal
Copy link

Thanks for the amazing repo, can you assist with the following:

,,,


AttributeError Traceback (most recent call last)
in <cell line: 7>()
5
6
----> 7 generate_3d(prompt_dict=prompts)
8
9

2 frames
/content/shap-e/shap_e/util/notebooks.py in decode_latent_mesh(xm, latent)
68 ) -> TorchMesh:
69 decoded = xm.renderer.render_views(
---> 70 AttrDict(cameras=create_pan_cameras(2, latent.device)), # lowest resolution possible
71 params=(xm.encoder if isinstance(xm, Transmitter) else xm).bottleneck_to_params(
72 latent[None]

AttributeError: 'str' object has no attribute 'device'
,,,

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