Skip to content

Commit

Permalink
fix(opendataset): remove the space in the CarConnection data remote path
Browse files Browse the repository at this point in the history
PR Closed: #1204
  • Loading branch information
Lee-000 committed Jan 24, 2022
1 parent e4c0e75 commit 48668ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorbay/opendataset/CarConnection/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def CarConnection(path: str) -> Dataset:
keys = dataset.catalog.classification.attributes.keys()

for image_path in image_paths:
data = Data(image_path)
basename = os.path.basename(image_path)
data = Data(image_path, target_remote_path=basename.replace(" ", "-"))
label = _extract_label_from_basename(keys, basename)
data.label.classification = label
segment.append(data)
Expand Down

0 comments on commit 48668ec

Please sign in to comment.