apetulante commited on
Commit
20d6307
·
1 Parent(s): 3de97bf

Update ancient-mortars.py

Browse files
Files changed (1) hide show
  1. ancient-mortars.py +0 -1
ancient-mortars.py CHANGED
@@ -122,7 +122,6 @@ class MortarsTest(datasets.GeneratorBasedBuilder):
122
  label_high = os.path.basename(file_name).lower().split('-')[0].split('_')[0]
123
  label_mid = os.path.basename(file_name).lower().split('-')[0].split('_')[0] + '_' + os.path.basename(file_name).lower().split('-')[0].split('_')[1]
124
  label_low = os.path.basename(file_name).lower().split('-')[0][0:-len('_default')]
125
- if os.path.basename(file_name).lower().split('-')[0] == 'olivepress_3_l'
126
 
127
  if label_low == 'olivepress_2' or label_low == 'olivepress_1': # olivepress_2 was redundant data! -
128
  continue # this is just a temporary workaround!
 
122
  label_high = os.path.basename(file_name).lower().split('-')[0].split('_')[0]
123
  label_mid = os.path.basename(file_name).lower().split('-')[0].split('_')[0] + '_' + os.path.basename(file_name).lower().split('-')[0].split('_')[1]
124
  label_low = os.path.basename(file_name).lower().split('-')[0][0:-len('_default')]
 
125
 
126
  if label_low == 'olivepress_2' or label_low == 'olivepress_1': # olivepress_2 was redundant data! -
127
  continue # this is just a temporary workaround!