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

Exporting data in YOLO format #83

Open
amitguptagwl opened this Issue Aug 21, 2018 · 15 comments

Comments

Projects
None yet
2 participants
@amitguptagwl
Member

amitguptagwl commented Aug 21, 2018

Currently imglab supports exporting labelled data in Pascal VOC, COCO format. We want to let users export data in YOLO format as well.

target folder : data formaters

Please check how export feature is implemented for other formats in data formaters

Watch for changes, or Bookmark for easy discovery.
Fund this project for new features and maintenance.
[Showcase] your project with us by raising an issue


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@JacobMarkBaird1998

This comment has been minimized.

Show comment
Hide comment
@JacobMarkBaird1998

JacobMarkBaird1998 Aug 30, 2018

Hi I am a newcomer and would like to contribute to this project, which would be my first. Has this task been assigned yet?

JacobMarkBaird1998 commented Aug 30, 2018

Hi I am a newcomer and would like to contribute to this project, which would be my first. Has this task been assigned yet?

@amitguptagwl

This comment has been minimized.

Show comment
Hide comment
@amitguptagwl

amitguptagwl Aug 30, 2018

Member

@JacobMarkBaird1998 Yes you can go ahead with this. Let me know if you need any help.

Member

amitguptagwl commented Aug 30, 2018

@JacobMarkBaird1998 Yes you can go ahead with this. Let me know if you need any help.

@JacobMarkBaird1998

This comment has been minimized.

Show comment
Hide comment
@JacobMarkBaird1998

JacobMarkBaird1998 Aug 31, 2018

Thank you, I've been looking for resources to familiarize myself with the YOLO format. I've found resources that say the file extension is just .txt. Does this sound right? I'm using these pages as reference:
AlexeyAB/Yolo_mark#60
http://guanghan.info/download/before_conversion.txt
http://guanghan.info/download/after_conversion.txt

JacobMarkBaird1998 commented Aug 31, 2018

Thank you, I've been looking for resources to familiarize myself with the YOLO format. I've found resources that say the file extension is just .txt. Does this sound right? I'm using these pages as reference:
AlexeyAB/Yolo_mark#60
http://guanghan.info/download/before_conversion.txt
http://guanghan.info/download/after_conversion.txt

@amitguptagwl

This comment has been minimized.

Show comment
Hide comment
@amitguptagwl

amitguptagwl Aug 31, 2018

Member

It looks good.
You can generate YOLO file from other tools as well and compare if both are same. https://github.com/tzutalin/labelImg

You can also check this python code for implementation reference: https://github.com/tzutalin/labelImg/blob/master/libs/yolo_io.py

Finally you can import generated file in other image annotation application to test.

Member

amitguptagwl commented Aug 31, 2018

It looks good.
You can generate YOLO file from other tools as well and compare if both are same. https://github.com/tzutalin/labelImg

You can also check this python code for implementation reference: https://github.com/tzutalin/labelImg/blob/master/libs/yolo_io.py

Finally you can import generated file in other image annotation application to test.

@JacobMarkBaird1998

This comment has been minimized.

Show comment
Hide comment
@JacobMarkBaird1998

JacobMarkBaird1998 Aug 31, 2018

Thanks a lot Amit!

JacobMarkBaird1998 commented Aug 31, 2018

Thanks a lot Amit!

@JacobMarkBaird1998

This comment has been minimized.

Show comment
Hide comment
@JacobMarkBaird1998

JacobMarkBaird1998 Aug 31, 2018

Should each image be written to a single YOLO .txt file, such as in writing to COCO, or should only the selected image be written, such as in writing to Pascal VOC?

JacobMarkBaird1998 commented Aug 31, 2018

Should each image be written to a single YOLO .txt file, such as in writing to COCO, or should only the selected image be written, such as in writing to Pascal VOC?

@amitguptagwl

This comment has been minimized.

Show comment
Hide comment
@amitguptagwl

amitguptagwl Aug 31, 2018

Member

The image which is currently open should be written in YOLO format. However it'll good if we can ask user to "export current" or "export all".

For this we'll have to redesign export pop up window.

Member

amitguptagwl commented Aug 31, 2018

The image which is currently open should be written in YOLO format. However it'll good if we can ask user to "export current" or "export all".

For this we'll have to redesign export pop up window.

@JacobMarkBaird1998

This comment has been minimized.

Show comment
Hide comment
@JacobMarkBaird1998

JacobMarkBaird1998 Aug 31, 2018

Okay, thank you. This is what I was going with until now.

JacobMarkBaird1998 commented Aug 31, 2018

Okay, thank you. This is what I was going with until now.

@JacobMarkBaird1998

This comment has been minimized.

Show comment
Hide comment
@JacobMarkBaird1998

JacobMarkBaird1998 Sep 1, 2018

I am getting this error when trying to call my "yoloFormater.toYOLO()" function defined inside my yolo.js file. Any idea what the issue is, and how I might solve it?
Thanks
image
image
image

JacobMarkBaird1998 commented Sep 1, 2018

I am getting this error when trying to call my "yoloFormater.toYOLO()" function defined inside my yolo.js file. Any idea what the issue is, and how I might solve it?
Thanks
image
image
image

@amitguptagwl

This comment has been minimized.

Show comment
Hide comment
@amitguptagwl

amitguptagwl Sep 1, 2018

Member

I believe you're not including your JS file in index.html

Member

amitguptagwl commented Sep 1, 2018

I believe you're not including your JS file in index.html

@JacobMarkBaird1998

This comment has been minimized.

Show comment
Hide comment
@JacobMarkBaird1998

JacobMarkBaird1998 Sep 1, 2018

Yes, that was the problem and it is working now. I am just trying to push my branch however I am receiving an error 403 message:
Opening repositories:
C:\Users\Jacob\Documents\VisualStudioRepos
Error encountered while pushing branch to the remote repository: Git failed with a fatal error.
unable to access 'https://github.com/NaturalIntelligence/imglab.git/': The requested URL returned error: 403
Pushing to https://github.com/NaturalIntelligence/imglab.git
Do you kn ow what is going wrong here?

JacobMarkBaird1998 commented Sep 1, 2018

Yes, that was the problem and it is working now. I am just trying to push my branch however I am receiving an error 403 message:
Opening repositories:
C:\Users\Jacob\Documents\VisualStudioRepos
Error encountered while pushing branch to the remote repository: Git failed with a fatal error.
unable to access 'https://github.com/NaturalIntelligence/imglab.git/': The requested URL returned error: 403
Pushing to https://github.com/NaturalIntelligence/imglab.git
Do you kn ow what is going wrong here?

@amitguptagwl

This comment has been minimized.

Show comment
Hide comment
@amitguptagwl

amitguptagwl Sep 2, 2018

Member

Have you tested that the generated file is working fine other application too?

You need to fork to submit the PR. You can't directly push in this repository.

Once your PR is successfully merged, you can submit it for the rewards on steemit.com which will be reviewed by utopian. So you need take care of it's tag, and format. Check this submission :
https://steemit.com/utopian-io/@alvinvoo/project-update-imglab-new-features

Member

amitguptagwl commented Sep 2, 2018

Have you tested that the generated file is working fine other application too?

You need to fork to submit the PR. You can't directly push in this repository.

Once your PR is successfully merged, you can submit it for the rewards on steemit.com which will be reviewed by utopian. So you need take care of it's tag, and format. Check this submission :
https://steemit.com/utopian-io/@alvinvoo/project-update-imglab-new-features

@JacobMarkBaird1998

This comment has been minimized.

Show comment
Hide comment
@JacobMarkBaird1998

JacobMarkBaird1998 Sep 2, 2018

Thank you, Amit. Sorry for the easy questions, I'm just a newbie to GitHub and haven't used it outside of school at all haha

JacobMarkBaird1998 commented Sep 2, 2018

Thank you, Amit. Sorry for the easy questions, I'm just a newbie to GitHub and haven't used it outside of school at all haha

@amitguptagwl

This comment has been minimized.

Show comment
Hide comment
@amitguptagwl

amitguptagwl Sep 3, 2018

Member

No problem. My main aim of creating issues is to give the chance to new contributors and mentor them. Please check this link: https://github.com/Roshanjossey/first-contributions

Member

amitguptagwl commented Sep 3, 2018

No problem. My main aim of creating issues is to give the chance to new contributors and mentor them. Please check this link: https://github.com/Roshanjossey/first-contributions

@amitguptagwl

This comment has been minimized.

Show comment
Hide comment
@amitguptagwl

amitguptagwl Sep 23, 2018

Member

This issue is ready to be picked by any contributor. You can check #97 for implementation help and other discussions.

Member

amitguptagwl commented Sep 23, 2018

This issue is ready to be picked by any contributor. You can check #97 for implementation help and other discussions.

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