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

Colab Directory Path Issue with image to 3d. #10

Closed
zatamite opened this issue May 5, 2023 · 3 comments
Closed

Colab Directory Path Issue with image to 3d. #10

zatamite opened this issue May 5, 2023 · 3 comments

Comments

@zatamite
Copy link

zatamite commented May 5, 2023

FileNotFoundError Traceback (most recent call last)
in <cell line: 4>()
2 guidance_scale = 3.0
3
----> 4 image = load_image("example_data/corgi.png")
5
6 latents = sample_latents(

2 frames
/usr/local/lib/python3.10/dist-packages/blobfile/_context.py in BlobFile(self, path, mode, streaming, buffer_size, cache_dir, file_size, version)
919 raise Error("Cannot specify cache_dir for streaming files")
920 if _is_local_path(path):
--> 921 f = io.FileIO(path, mode=mode)
922 if "r" in mode:
923 f = io.BufferedReader(f, buffer_size=buffer_size)

FileNotFoundError: [Errno 2] No such file or directory: 'example_data/corgi.png'

@zatamite zatamite changed the title Using colab I get this. I have the entire directory cloned. I have the text to 3d versions working with colab. Colab Directory Path Issue with image to 3d. May 5, 2023
@rishabhjain
Copy link

You need to upload an image and add it's path there.

@woctezuma
Copy link

woctezuma commented May 6, 2023

I have tried to make it as simple as possible in the following notebook:

Basically, you have to get the image of the corgi 🐕 from shap_e/examples/example_data/.

@zatamite
Copy link
Author

zatamite commented May 6, 2023

Nice. Thanks.

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

4 participants