Skip to content

Add Cityscapes dataset adapter - #577

Merged
dpascualhe merged 11 commits into
JdeRobot:masterfrom
tejasstanley:feat/cityscapes
May 27, 2026
Merged

Add Cityscapes dataset adapter#577
dpascualhe merged 11 commits into
JdeRobot:masterfrom
tejasstanley:feat/cityscapes

Conversation

@tejasstanley

@tejasstanley tejasstanley commented May 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

Related to #576.
This PR adds an initial Cityscapes dataset adapter.

Current status

This is still in progress. The dataset loading and ontology mapping are mostly implemented. The CityscapesImageSegmentationDataset wrapper is not added yet.

Changes

  • Added Cityscapes ontology construction from cityscapesscripts
  • Added image-label pairing for leftImg8bit and gtFine

TODO

  • Add CityscapesImageSegmentationDataset
  • Test the adapter with the evaluation pipeline

@dpascualhe dpascualhe changed the title Add Citscapes dataset adapter Add Cityscapes dataset adapter May 20, 2026

@dpascualhe dpascualhe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far so good! 😄 Just keep in mind the sphinx format for the docstrings (I guess you can setup some extension to help you with that if you're working with vscode) and avoid pushing local paths

@tejasstanley

tejasstanley commented May 20, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks @dpascualhe ! I’ll keep this in mind going forward. I have pushed the latest version with the dataset adapter functions and Sphinx-formatted docstrings, and I’ll make sure to avoid local paths in future changes.

@dpascualhe

Copy link
Copy Markdown
Collaborator

Hi @tejasstanley ! Can you resolve the poetry.lock file conflict? We bumped recently some versions due to security issues. We are ready to merge afterwards 😄

@tejasstanley
tejasstanley marked this pull request as ready for review May 26, 2026 17:19
@dpascualhe
dpascualhe merged commit fd810f7 into JdeRobot:master May 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants