Closed vgthengane closed 2 years ago
Hum I'm sorry but I don't understand what you're doing.
You said "_clip_model, _clip_transform = clip.load("ViT-B/32", device=device)", but what were you doing before then? Creating another ViT of different size?
I am trying to integrate the CLIP model with DyTox. The evaluation accuracy with default config for
task=0
,after epoch=0
, andnum_gpus=4
is60.5%
.When I add a single line
_clip_model, _clip_transform = clip.load("ViT-B/32", device=device)
the accuracy jumps from60.5%
to75.0%
.Similarly for
_clip_model, _clip_transform = clip.load("ViT-B/16", device=device)
the accuracy is73.5%
.I only instantiate the CLIP model above the
scenario_train
loop here and did not change anything else.Do you have any idea what might be causing this issue?
Thanks, Vishal