mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[PR #521] Fix FileNotFoundError in Interacting_with_CLIP.ipynb for newer scikit-image versions #519
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#519
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/openai/CLIP/pull/521
Author: @tonywjs
Created: 12/8/2025
Status: 🔄 Open
Base:
main← Head:fix/skimage-data-dir-error📝 Commits (1)
c9f8abbFix FileNotFoundError in Interacting_with_CLIP.ipynb for newer scikit-image versions📊 Changes
1 file changed (+448 additions, -431 deletions)
View changed files
📝
notebooks/Interacting_with_CLIP.ipynb(+448 -431)📄 Description
Problem
The notebook fails with FileNotFoundError when running on Google Colab with recent versions of scikit-image (0.25.x+):
This occurs because newer versions of scikit-image use lazy loading for sample images, and the skimage.data_dir directory may not exist until images are explicitly loaded.
Solution
Replace the directory-based image loading approach with direct function calls from skimage.data module:
Changes
Testing
Tested on Google Colab with:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.