[GH-ISSUE #138] Prompt_Engineering_for_ImageNet won't run after jit default change #123

Closed
opened 2026-10-31 21:11:25 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @or-toledano on GitHub (Aug 8, 2021).
Original GitHub issue: https://github.com/openai/CLIP/issues/138

Causes:
ModuleAttributeError: 'CLIP' object has no attribute 'input_resolution'
And if partially fixed:
AttributeError: 'int' object has no attribute 'item'

Fixed by #137 with handling of the two jit cases.

Originally created by @or-toledano on GitHub (Aug 8, 2021). Original GitHub issue: https://github.com/openai/CLIP/issues/138 Causes: `ModuleAttributeError: 'CLIP' object has no attribute 'input_resolution'` And if partially fixed: `AttributeError: 'int' object has no attribute 'item' ` Fixed by #137 with handling of the two jit cases.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openai/CLIP#123
No description provided.