Skip to content

Commit

Permalink
fixed image classification input generator
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Jan 13, 2024
1 parent f93acee commit 99df40d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimum_benchmark/generators/task_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def labels(self):

def generate(self):
dummy = {}
dummy["pixel_value"] = self.pixel_values()
dummy["pixel_values"] = self.pixel_values()

if self.with_labels:
dummy["labels"] = self.labels()
Expand Down Expand Up @@ -318,7 +318,7 @@ def labels(self):

def generate(self):
dummy = {}
dummy["pixel_value"] = self.pixel_values()
dummy["pixel_values"] = self.pixel_values()

if self.with_labels:
dummy["labels"] = self.labels()
Expand Down

0 comments on commit 99df40d

Please sign in to comment.