-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
kaggle run yolov8 #1599
Comments
👋 Hello @wangtao0219, thank you for your interest in YOLOv8 🚀! We recommend a visit to the YOLOv8 Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered. If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it. If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results. InstallPip install the pip install ultralytics EnvironmentsYOLOv8 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLOv8 Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit. |
@wangtao0219 👋 hi, thanks for letting us know about this possible problem with YOLO 🚀. YOLOv8 will not save cache files if directories are read-only. The code that handles this is here: ultralytics/ultralytics/yolo/data/dataset.py Lines 114 to 121 in 28e48be
We've created a few short guidelines below to help users provide what we need in order to start investigating a possible problem. How to create a Minimal, Reproducible ExampleWhen asking a question, people will be better able to provide help if you provide code that they can easily understand and use to reproduce the problem. This is referred to by community members as creating a minimum reproducible example. Your code that reproduces the problem should be:
For Ultralytics to provide assistance your code should also be:
If you believe your problem meets all the above criteria, please close this issue and raise a new one using the 🐛 Bug Report template with a minimum reproducible example to help us better understand and diagnose your problem. Thank you! 😃 |
@glenn-jocher Thank you for your reply, the problem is solved |
@wangtao0219, How did you resolved this issue in Kaggle? |
Great to hear your issue is resolved, @ManzarIMalik! If you have any more questions or run into any other issues, feel free to reach out. Happy coding with YOLOv8! 😊👍 |
@glenn-jocher ,Even i have the same issue , and it is unresolved . |
@shreya123jadhav hello! To run YOLOv8 on Kaggle with a read-only dataset, you can specify a writable directory for the cache file. You can use the
For example, if your dataset YAML is named # dataset.yaml
train: /kaggle/input/your-dataset/train/images
val: /kaggle/input/your-dataset/val/images
# other settings...
cache_dir: /kaggle/working Then, run YOLOv8 with this dataset YAML. This should allow YOLOv8 to generate the If you encounter any further issues or have additional questions, feel free to reach out! 😊👍 |
Search before asking
Question
I have an awkward problem running YOLOv8 in kaggle. The kaggle dataset is stored in input, which is read-only.
But YOLOv8 needs to generate the train.cache file when run, which will cause an error, what can I do to run it properly
Additional
No response
The text was updated successfully, but these errors were encountered: