apetulante commited on
Commit
d1a4bd9
·
1 Parent(s): c2c33a6

Update mortars_test.py

Browse files
Files changed (1) hide show
  1. mortars_test.py +1 -1
mortars_test.py CHANGED
@@ -70,5 +70,5 @@ class MortarsTest(datasets.GeneratorBasedBuilder):
70
  yield i, {
71
  "image_file_path": path,
72
  "image": path,
73
- "labels": os.path.basename(file_name).lower().split('-')[0],
74
  }
 
70
  yield i, {
71
  "image_file_path": path,
72
  "image": path,
73
+ "labels": os.path.basename(file_name).lower().split('-')[0].split('_')[0],
74
  }