vkashko commited on
Commit
ab2c776
1 Parent(s): 73ababf

refactor: rename builder class

Browse files
Files changed (1) hide show
  1. medical-staff-people-tracking.py +2 -1
medical-staff-people-tracking.py CHANGED
@@ -30,7 +30,7 @@ _DATA = f"https://huggingface.co/datasets/TrainingDataPro/{_NAME}/resolve/main/d
30
  _LABELS = ["nurse", "doctor", "other_people"]
31
 
32
 
33
- class ElectricScootersTracking(datasets.GeneratorBasedBuilder):
34
  BUILDER_CONFIGS = [
35
  datasets.BuilderConfig(name="video_01", data_dir=f"{_DATA}video_01.zip"),
36
  datasets.BuilderConfig(name="video_02", data_dir=f"{_DATA}video_02.zip"),
@@ -159,6 +159,7 @@ class ElectricScootersTracking(datasets.GeneratorBasedBuilder):
159
  image_id = img.get("id")
160
  name = img.get("name")
161
  shapes = [self.parse_shape(shape) for shape in img]
 
162
 
163
  yield idx, {
164
  "id": image_id,
 
30
  _LABELS = ["nurse", "doctor", "other_people"]
31
 
32
 
33
+ class MedicalStaffPeopleTracking(datasets.GeneratorBasedBuilder):
34
  BUILDER_CONFIGS = [
35
  datasets.BuilderConfig(name="video_01", data_dir=f"{_DATA}video_01.zip"),
36
  datasets.BuilderConfig(name="video_02", data_dir=f"{_DATA}video_02.zip"),
 
159
  image_id = img.get("id")
160
  name = img.get("name")
161
  shapes = [self.parse_shape(shape) for shape in img]
162
+ print(shapes)
163
 
164
  yield idx, {
165
  "id": image_id,