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

Pascal VOC,YOLO naming issue #277

Closed
yinchuangsum opened this issue Jan 21, 2021 · 5 comments
Closed

Pascal VOC,YOLO naming issue #277

yinchuangsum opened this issue Jan 21, 2021 · 5 comments
Assignees
Labels
frontend help wanted Extra attention is needed low priority meant to fix, but not urgent not critical

Comments

@yinchuangsum
Copy link
Contributor

yinchuangsum commented Jan 21, 2021

Describe the bug
Any labelled image will be appended "_extension" to the file name.
Which is inconvenient to user.
Example: 1.jpg -> 1_jpg.xml

To Reproduce
Steps to reproduce the behavior:

  1. Open any projects with labelled image.
  2. export with option Pascal Voc, YOLO.

Expected behavior
The output name shouldn't contain the extension
Example: 1.jpg ->1.xml

Screenshots
Screenshot from 2021-01-21 18-19-51

Desktop (please complete the following information):

  • OS: N/A
  • Browser N/A
  • Version V1.1.0

Additional context
Extra feature: allow user to make decision when having name overlapping.(overwrite either one, or keep both)

@yinchuangsum yinchuangsum added bug Something isn't working help wanted Extra attention is needed medium priority need to fix, it block some features function labels Jan 21, 2021
@codenamewei
Copy link
Contributor

@BobbyLCW
Suggest to only append extensions when there is same file name

  • image1.jpg

  • image1.png

  • image1_jpg.xml

  • image1_png.xml

and the rest stick to being same as file name (not append)

training with dl4j fails with current setup, users have to manually remove the extension
image1_jpg.xml -> image1.xml
before start training

@codenamewei
Copy link
Contributor

codenamewei commented Jan 21, 2021

@YCCertifai can you check if the similar scenario happens to other saving types?

we discover only pascal voc because dl4j can only use that..

@yinchuangsum yinchuangsum changed the title Pascal VOC naming issue Pascal VOC,YOLO naming issue Jan 21, 2021
@yinchuangsum
Copy link
Contributor Author

Same Issue for YOLO.
Others are fine

@BobbyLCW
Copy link

BobbyLCW commented Jan 21, 2021

@BobbyLCW
Suggest to only append extensions when there is same file name

  • image1.jpg
  • image1.png
  • image1_jpg.xml
  • image1_png.xml

and the rest stick to being same as file name (not append)

training with dl4j fails with current setup, users have to manually remove the extension
image1_jpg.xml -> image1.xml
before start training

@codenamewei I will either not append it. If user have the similar file name. They should rename it before import to project. Will lower the priority of this issue. This is not a bug.

@BobbyLCW BobbyLCW added low priority meant to fix, but not urgent not critical and removed medium priority need to fix, it block some features function bug Something isn't working labels Jan 21, 2021
@codenamewei
Copy link
Contributor

solve in latest 522cabc commit in main branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend help wanted Extra attention is needed low priority meant to fix, but not urgent not critical
Projects
None yet
Development

No branches or pull requests

3 participants