You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]}
The text was updated successfully, but these errors were encountered:
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]}
The text was updated successfully, but these errors were encountered: