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

little improvement suggestion #5

Closed
KaizerJ opened this issue Oct 25, 2022 · 1 comment
Closed

little improvement suggestion #5

KaizerJ opened this issue Oct 25, 2022 · 1 comment

Comments

@KaizerJ
Copy link

KaizerJ commented Oct 25, 2022

Hello. Right now yolov5_2_coco.py script demands that train.txt paths must be absolute paths to the images. That's not very common in yolo like datasets. I suggest to change line 119 to
img_path = Path(self.raw_data_dir / img_path) to use relatives paths instead or even check if the path is relative or absolute to treat it properly.

SWHL added a commit that referenced this issue Oct 26, 2022
@SWHL
Copy link
Contributor

SWHL commented Oct 26, 2022

@KaizerJ KaizerJ closed this as completed Oct 26, 2022
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

No branches or pull requests

2 participants