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

train.py path error on startup configuration #11371

Closed
1 of 2 tasks
apiszcz opened this issue Apr 17, 2023 · 2 comments
Closed
1 of 2 tasks

train.py path error on startup configuration #11371

apiszcz opened this issue Apr 17, 2023 · 2 comments
Labels
bug Something isn't working Stale

Comments

@apiszcz
Copy link

apiszcz commented Apr 17, 2023

Search before asking

  • I have searched the YOLOv5 issues and found no similar bug report.

YOLOv5 Component

No response

Bug

The following error occurs when starting training

> c:\test\lib\yolov5\train.py(40)<module>()
-> sys.path.append(str(ROOT))  # add ROOT to PATH
(Pdb) n
> c:\test\lib\yolov5\train.py(41)<module>()
-> ROOT = Path(os.path.relpath(ROOT, Path.cwd()))  # relative
(Pdb) n
ValueError: path is on mount '\\\\host.domain.com\\X', start on mount 'X:'
> c:\test\lib\yolov5\train.py(41)<module>()
-> ROOT = Path(os.path.relpath(ROOT, Path.cwd()))  # relative

Environment

Yolov5
Windows Server

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@apiszcz apiszcz added the bug Something isn't working label Apr 17, 2023
@glenn-jocher
Copy link
Member

@apiszcz hello! This error seems to be related to the ROOT path used during training. It seems like your ROOT path is on a network mount, which is causing some issues. One solution is to move your ROOT path to a local drive on your machine. You can read more about ROOT paths in the documentation at https://docs.ultralytics.com/yolov5/training.html#train-hyp. Let me know if this helps!

@github-actions
Copy link
Contributor

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐

@github-actions github-actions bot added the Stale label May 18, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants