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

In section: Train your model; error using Image #3

Open
gregorywmorris opened this issue May 27, 2023 · 0 comments
Open

In section: Train your model; error using Image #3

gregorywmorris opened this issue May 27, 2023 · 0 comments

Comments

@gregorywmorris
Copy link

In the Train your model section
Code:

%cd /content/mycar/models

import glob
file = glob.glob("*.png")
  
from IPython.display import Image
Image(file[0])

Error:

/content/mycar/models
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
[<ipython-input-14-a49b9b1e4a9d>](https://localhost:8080/#) in <cell line: 7>()
      5 
      6 from IPython.display import Image
----> 7 Image(file[0])

IndexError: list index out of range
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