mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[PR #136] [MERGED] Can specify root directory when loading model #460
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#460
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/136
Author: @kcosta42
Created: 8/6/2021
Status: ✅ Merged
Merged: 8/9/2021
Merged by: @jongwook
Base:
main← Head:patch-1📝 Commits (2)
53e1d0bCan specify root directory when loading model6599907specifying download_root instead📊 Changes
1 file changed (+7 additions, -4 deletions)
View changed files
📝
clip/clip.py(+7 -4)📄 Description
The
clip.load()function did not have any option to specify therootdirectory used in the internal_download()function.This PR add keywords args to the function which allow the user to specify a custom cache directory.
Example:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.