mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #362] CLIP - No progression in Training #315
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#315
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?
Originally created by @TEnsorTHiru on GitHub (May 27, 2023).
Original GitHub issue: https://github.com/openai/CLIP/issues/362
I'm trying to train CLIP-ViT-B/32 in my dataset. The model is not learning anything, The validation loss doesn't reduce at all. IDK what mistake am I doing. I have attached my code here. Please do let me know If I'm doing some mistake in here
@Crawler995 commented on GitHub (Jul 20, 2023):
hello, I am trying to compress the image encoder and fine-tune it to recover the accuracy. And I face a similar problem to you that the training loss gradually reduces to 4.13 (using ~200 iterations), after it, the loss no longer reduces. This is so strange.
@TEnsorTHiru commented on GitHub (Jul 25, 2023):
If you have solved it, please LMK. I still face this issue and IDK why?
@502dxceit commented on GitHub (Oct 26, 2023):
I can't find optim.zero_grad() after loss.backward(), have you cleaned the grad after backpropagation?
@tengshaofeng commented on GitHub (Feb 18, 2025):
@Crawler995 @502dxceit @TEnsorTHiru @longouyang @welinder this is my training code, everything gose well. https://github.com/tengshaofeng/finetune-jina-clip-v2