xinyu1205 commited on
Commit
b0832a1
1 Parent(s): ae43413

Update models/tag2text.py

Browse files
Files changed (1) hide show
  1. models/tag2text.py +1 -2
models/tag2text.py CHANGED
@@ -36,8 +36,7 @@ class Tag2Text_Caption(nn.Module):
36
  vit_grad_ckpt = False,
37
  vit_ckpt_layer = 0,
38
  prompt = 'a picture of ',
39
- config = None,
40
- threshold = 0.2,
41
  ):
42
  """
43
  Args:
 
36
  vit_grad_ckpt = False,
37
  vit_ckpt_layer = 0,
38
  prompt = 'a picture of ',
39
+ threshold = 0.7,
 
40
  ):
41
  """
42
  Args: