-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugSomething isn't workingSomething isn't workingonsiteThe change was suggested during an initiative on a company onsiteThe change was suggested during an initiative on a company onsite
Description
Search before asking
- I have searched the Roboflow Notebooks issues and found no similar bug report.
Notebook name
Yolov8 custom dataset, but using the python api. Dataset path is apparently incorrect. I know I've had this issue in the past
Bug
I download the dataset
rf = Roboflow(api_key="xx")
project = rf.workspace("org").project("simulated-data")
version = project.version(1)
dataset = version.download("yolov8")
# validate location
dataset.location == '/teamspace/studios/this_studio/simulated-data'
# Now I should be able to train with
# Loading a pretrained model
model = YOLO('yolov8l.pt')
# Training the model
model.train(
data = f'{dataset.location}/data.yaml', # this is correct
...
)
But I get an error:
RuntimeError: Dataset '/teamspace/studios/this_studio/simulated-data/data.yaml' error ❌
Dataset '/teamspace/studios/this_studio/simulated-data/data.yaml' images not found ⚠️,
missing path '/teamspace/studios/this_studio/simulated-data/simulated-data/valid/images'
Why is it looking in a nested directory?
Environment
Lightning studio
Minimal Reproducible Example
See above
Additional
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingonsiteThe change was suggested during an initiative on a company onsiteThe change was suggested during an initiative on a company onsite