yfyangd commited on
Commit
763c0b2
·
1 Parent(s): f976bf4

Update BLIP/models/blip.py

Browse files
Files changed (1) hide show
  1. BLIP/models/blip.py +2 -2
BLIP/models/blip.py CHANGED
@@ -22,7 +22,7 @@ from timm.models.hub import download_cached_file
22
 
23
  class BLIP_Base(nn.Module):
24
  def __init__(self,
25
- med_config = 'configs/med_config.json',
26
  image_size = 224,
27
  vit = 'base',
28
  vit_grad_ckpt = False,
@@ -77,7 +77,7 @@ class BLIP_Base(nn.Module):
77
 
78
  class BLIP_Decoder(nn.Module):
79
  def __init__(self,
80
- med_config = 'configs/med_config.json',
81
  image_size = 384,
82
  vit = 'base',
83
  vit_grad_ckpt = False,
 
22
 
23
  class BLIP_Base(nn.Module):
24
  def __init__(self,
25
+ med_config = 'BLIP/configs/med_config.json',
26
  image_size = 224,
27
  vit = 'base',
28
  vit_grad_ckpt = False,
 
77
 
78
  class BLIP_Decoder(nn.Module):
79
  def __init__(self,
80
+ med_config = 'BLIP/configs/med_config.json',
81
  image_size = 384,
82
  vit = 'base',
83
  vit_grad_ckpt = False,