Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COCO json doesn't include directory #1385

Closed
2 tasks done
thomasstats opened this issue Apr 9, 2020 · 1 comment
Closed
2 tasks done

COCO json doesn't include directory #1385

thomasstats opened this issue Apr 9, 2020 · 1 comment
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists
Milestone

Comments

@thomasstats
Copy link

My actions before raising this issue

Expected Behaviour

When retrieving annotation information for COCO, I would expect that the image name contains the folder as well. For example if I upload a set of images in a folder for "Task 1" with subfolders "Job1" ... "Jobn" each containing images to be marked that the json would return a path with the folder. Such as "file_name": img1.jpg "path": path/to/folder/containing/img1 or "file_path": path/to/folder/img1.jpg.

Current Behaviour

Currently the json returns simply a filename. So in the event that I have subfolders with conflicting filenames, it requires the end user to determine which folder it came from using some type of logic.

Possible Solution

As mentioned above, include some kind of item in the json that allows you to see the path of the image file.

Context

We've had to use other annotation formats and convert them to COCO ourselves.

@nmanovic
Copy link
Contributor

nmanovic commented Apr 9, 2020

It was fixed in develop branch: #1381

@nmanovic nmanovic closed this as completed Apr 9, 2020
@nmanovic nmanovic added bug Something isn't working duplicate This issue or pull request already exists labels Apr 9, 2020
@nmanovic nmanovic added this to the 1.0.0 - Beta milestone Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants