chendl commited on
Commit
e9a2cd8
·
1 Parent(s): 013e410

update cap

Browse files
multimodal/open_flamingo/eval/task/caption.py CHANGED
@@ -74,6 +74,7 @@ def captioner(
74
  object_token = "<|#object#|>"
75
  ori_prompt_length = len(input_ids[0])
76
  have_prebox = False
 
77
  while True:
78
  batch_images = batch_images
79
  input_ids = input_ids
 
74
  object_token = "<|#object#|>"
75
  ori_prompt_length = len(input_ids[0])
76
  have_prebox = False
77
+ out_image = None
78
  while True:
79
  batch_images = batch_images
80
  input_ids = input_ids