Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liaogulou committed Oct 30, 2023
1 parent cb25823 commit 87e0f42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_caltech256(self):
results = data_source[idx]
img = results['img']
label = results['gt_labels']
self.assertEqual(img.mode, 'RGB')
self.assertEqual(img.mode, 'L')
self.assertIn(label, list(range(len(data_source.CLASSES))))
img.close()

Expand Down

0 comments on commit 87e0f42

Please sign in to comment.