damerajee commited on
Commit
e3c58bf
·
verified ·
1 Parent(s): 2937c23

Update modeling_gpt2vision.py

Browse files
Files changed (1) hide show
  1. modeling_gpt2vision.py +1 -0
modeling_gpt2vision.py CHANGED
@@ -79,6 +79,7 @@ class GPT2Vision(PreTrainedModel):
79
  }
80
 
81
  def preprocess_inputs(self, batch):
 
82
  images = batch['images']
83
  input_ids = batch['input_ids'].to(self.device)
84
  attention_mask = batch['attention_mask'].to(self.device)
 
79
  }
80
 
81
  def preprocess_inputs(self, batch):
82
+ print("batch",batch)
83
  images = batch['images']
84
  input_ids = batch['input_ids'].to(self.device)
85
  attention_mask = batch['attention_mask'].to(self.device)