Skip to content

Commit

Permalink
nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
brimoor committed Aug 28, 2024
1 parent 475310d commit 007fc96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fiftyone/utils/yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,13 @@ def setup(self):
split_info = d[self.split]
if isinstance(split_info, str):
split_info = [split_info]
data = [
data_paths = [
fos.normpath(os.path.join(dataset_path, si)) for si in split_info
]
classes = _parse_yolo_classes(d.get("names", None))

image_paths = []
for data_path in data:
for data_path in data_paths:
if etau.is_str(data_path) and data_path.endswith(".txt"):
txt_path = _parse_yolo_v5_path(data_path, self.yaml_path)
image_paths.extend(
Expand Down

0 comments on commit 007fc96

Please sign in to comment.