mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[PR #151] [MERGED] In Compose, replace lambda function with named function #464
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#464
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/151
Author: @janluke
Created: 9/10/2021
Status: ✅ Merged
Merged: 9/24/2021
Merged by: @jongwook
Base:
main← Head:fix/replace-lambda-in-compose📝 Commits (1)
a63f881In Compose, replace lambda function with named function📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
clip/clip.py(+5 -1)📄 Description
This prevents the following error on Windows (when using a multi-process
DataLoader, for example):See https://discuss.pytorch.org/t/cant-pickle-local-object-dataloader-init-locals-lambda/31857
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.