Skip to content

Commit

Permalink
refactor: comment out resize parameter to resolve ValueError in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rizoudal committed Sep 15, 2024
1 parent afa71bb commit 45eed28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def setUpClass(self):
self.labels_ohe[i][class_index] = 1
# Create Data Generator
self.datagen = DataGenerator(self.sampleList, self.tmp_data.name,
labels=self.labels_ohe, resize=(32, 32),
labels=self.labels_ohe, #resize=(32, 32),
grayscale=False, batch_size=1)

#-------------------------------------------------#
Expand Down
2 changes: 1 addition & 1 deletion tests/test_neuralnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def setUpClass(self):
self.datagen = DataGenerator(self.sampleList_rgb,
self.tmp_data.name,
labels=self.labels_ohe,
resize=(32, 32),
#resize=(32, 32),
shuffle=True,
grayscale=False, batch_size=3)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def setUpClass(self):
self.datagen = DataGenerator(self.sampleList_rgb,
self.tmp_data.name,
labels=self.labels_ohe,
resize=(32, 32),
#resize=(32, 32),
grayscale=False, batch_size=1)

#-------------------------------------------------#
Expand Down

0 comments on commit 45eed28

Please sign in to comment.