samzirbo commited on
Commit
a88a64d
1 Parent(s): 2ca1e9b

Upload set-classification.py

Browse files
Files changed (1) hide show
  1. set-classification.py +1 -1
set-classification.py CHANGED
@@ -5,7 +5,7 @@ from datasets import DownloadManager
5
  class SetClassification(datasets.GeneratorBasedBuilder):
6
  """Set-Classification Images dataset"""
7
 
8
- def __init__(self, data_path, *args, **kwargs):
9
  super(SetClassification, self).__init__(*args, **kwargs)
10
  self.data_path = data_path
11
  self.labels = pd.read_csv(f'{self.data_path}/labels.csv')
 
5
  class SetClassification(datasets.GeneratorBasedBuilder):
6
  """Set-Classification Images dataset"""
7
 
8
+ def __init__(self, data_path='data', *args, **kwargs):
9
  super(SetClassification, self).__init__(*args, **kwargs)
10
  self.data_path = data_path
11
  self.labels = pd.read_csv(f'{self.data_path}/labels.csv')