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

Error in demo-images notebook #21

Open
ghost opened this issue Jun 23, 2020 · 0 comments
Open

Error in demo-images notebook #21

ghost opened this issue Jun 23, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 23, 2020

Hi, I'm getting the following error when I run the 9th cell, I tried changing image_dirpath and rechecking for loops, but none of them worked:

FileNotFoundError Traceback (most recent call last)
in
2 for name in names:
3 image_dirpath = image_dir_basepath + name
----> 4 image_filepaths = [os.path.join(image_dirpath, f) for f in os.listdir(image_dirpath)]
5 embs = calc_embs(image_filepaths)
6 for i in range(len(image_filepaths)):

FileNotFoundError: [WinError 3] The system cannot find the path specified: '../data/images/LarryPage'

Cell 9th:
data = {}
for name in names:
image_dirpath = image_dir_basepath + name
image_filepaths = [os.path.join(image_dirpath, f) for f in os.listdir(image_dirpath)]
embs = calc_embs(image_filepaths)
for i in range(len(image_filepaths)):
data['{}{}'.format(name, i)] = {'image_filepath' : image_filepaths[i],
'emb' : embs[i]}

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

0 participants