Skip to content

Conversation

@femartip
Copy link

@femartip femartip commented Dec 23, 2025

Description

Solving issue #313 where it was suggested to add a custom path when loading from a COCO dataset.
Add an optional image_root config/CLI flag and pass it through the dataset builders. Override COCO image loading to resolve absolute/relative file_name values against image_root.

List any dependencies that are required for this change.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How has this change been tested, please provide a testcase or example of how you tested the change?

Not run.

Any specific deployment considerations

None.

Docs

  • Docs updated? What were the changes:

Solving issue roboflow#313 where it was suggested to add a custom path when loading from a COCO dataset.
@CLAassistant
Copy link

CLAassistant commented Dec 23, 2025

CLA assistant check
All committers have signed the CLA.

@femartip femartip mentioned this pull request Dec 23, 2025
2 tasks
@Borda Borda added the enhancement New feature or request label Jan 22, 2026
Copy link
Member

@Borda Borda left a comment

Choose a reason for hiding this comment

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

I guess that was resolved in #558, or could you pls provide a complete use case/example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request has conflicts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants