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

Help, i cant start the model because of the path #2

Open
mRwolfie18 opened this issue Feb 10, 2023 · 1 comment
Open

Help, i cant start the model because of the path #2

mRwolfie18 opened this issue Feb 10, 2023 · 1 comment

Comments

@mRwolfie18
Copy link

i have an issue when i specify the input path.

**_FAIL! Input should be a path to an image file or a directory of image files.
An exception has occurred, use %tb to see the full traceback.

SystemExit: Input not understood._**

I tried everything, from google drive, from local, just the image and nothing works. How i can fix it?

@olaviinha
Copy link
Owner

olaviinha commented Feb 10, 2023

Which notebook?

Path should always be relative to your Google Drive root (My Drive). E.g.

  1. If you have a directory called images in your Google Drive, and you want to process all images inside that directory, you should enter in the field: images
  2. If you have a directory called ai in your Google Drive, and inside that directory you have another directory called dallemini, containing an image shrek.jpg that you want to process, then you should enter in the field: ai/dallemini/shrek.jpg

If you did precisely that, then I guess problem might be a number of things like image formats or Drive sync issues. Your safest bets regarding format are probably JPG and PNG. If you run the cell too soon after dropping images to Google Drive locally, the notebook may not find them because it can sometimes take a while for Google Drive app to sync them.

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

2 participants