-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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
Added user option to specify dataset download path #4774
Closed
kalenmike
wants to merge
21
commits into
ultralytics:master
from
kalenmike:feature/sandbox-dataset-download
Closed
Added user option to specify dataset download path #4774
kalenmike
wants to merge
21
commits into
ultralytics:master
from
kalenmike:feature/sandbox-dataset-download
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions YOLOv5 🚀 and Vision AI ⭐. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added the option for the user to pass the --sandbox='custom/path/to' argument which ensures YOLOv5 unzips the dataset into this custom folder. The --project path is overwritten to match what is passed into --sandbox this ensures both the dataset and runs are kept in the same folder.
The idea is that this becomes a sandbox option and all training-specific files are kept in the same user-defined folder to ensure that runs do not mix or overwrite each other.
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Enhanced dataset handling and configuration flexibility in YOLOv5 training.
📊 Key Changes
requirements.txt
.--sandbox
flag totrain.py
for alternative file storage, affecting dataset checks and path settings.utils/datasets.py
, making error processes more transparent.check_dataset
function inutils/general.py
to handle custom dataset root paths via the--sandbox
flag and clarified autodownload prompts.🎯 Purpose & Impact
--sandbox
option allows all training-related files, including datasets, to be saved in a specified directory, streamlining project organization and improving user flexibility.check_dataset
support clearer dataset download feedback and better management of dataset paths, potentially making YOLOv5 more robust in various usage scenarios.