CLIP
CLIP copied to clipboard
colab [8] error:No such file or directory: '/root/.cache/scikit-image/0.24.0/data'
Question: After executing step 8 in the Colab Demo of Readme, it prompts No such file or directory: '/root/.cache/scikit-image/0.24.0/data'
>Step 8 Source Code:
original_images = []
images = []
texts = []
plt.figure(figsize=(16, 5))
# The outlier has occurred: No such file or directory [skimage.data_dir]
for filename in [filename for filename in os.listdir(skimage.data_dir) if filename.endswith(".png") or filename.endswith(".jpg")]:
name = os.path.splitext(filename)[0]
if name not in descriptions:
continue
...
plt.tight_layout()
Solution: Execute skimage.data.download_all(directory=None) before step 8.
Suggestion: As per the solution
thanks,it works for me
Thanks , the same as.
Thank you, that helps.