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

Upload not working dataset #50

Closed
1 task done
akghost96 opened this issue Jun 25, 2022 · 2 comments
Closed
1 task done

Upload not working dataset #50

akghost96 opened this issue Jun 25, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@akghost96
Copy link

Search before asking

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

HUB Component

No response

Bug

error: Dataset Error : data.yaml/images/train not found, data.yaml/labels/train not found, data.yaml/images/valid not found, data.yaml/labels/valid not found
i tried to make the data file exactly like in the coco6.yalm
data.yalm :

path:
train: images/train
val: images/valid

nc: 4
names: ['black_measles', 'black_root', 'blight', 'healthy']

one document annotation:
1 0.60703125 0.45 0.03671875 0.034375
1 0.5375 0.490625 0.034375 0.03125
1 0.6875 0.534375 0.04375 0.04765625
1 0.63984375 0.55703125 0.03515625 0.03203125
1 0.4390625 0.559375 0.02890625 0.025
1 0.671875 0.64140625 0.03203125 0.02734375
1 0.6140625 0.6421875 0.03203125 0.03125
1 0.82109375 0.71640625 0.053125 0.05
1 0.44375 0.16640625 0.0421875 0.0359375
1 0.453125 0.275 0.03203125 0.0328125
1 0.43984375 0.359375 0.04296875 0.03515625

I tried to make the zip file with the same name with the yalm file still not working and getting the same error

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

@akghost96 akghost96 added the bug Something isn't working label Jun 25, 2022
@github-actions
Copy link

👋 Hello @akghost96, thank you for raising an issue about Ultralytics HUB 🚀! Please visit https://ultralytics.com/hub to learn more, and see our ⭐️ HUB Guidelines to quickly get started uploading datasets and training YOLOv5 models.

If this is a 🐛 Bug Report, please provide screenshots and steps to recreate your problem to help us get started working on a fix.

If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response.

We try to respond to all issues as promptly as possible. Thank you for your patience!

@kalenmike
Copy link
Contributor

kalenmike commented Jun 25, 2022

@akghost96 Thank you reaching out. If you are seeing an error like that it is because the YAML file cannot be found, most likley you are seeing the error because you have set the extension to be .yalm when it should be .yaml.

You can also confirm that your YAML is correctly configured. The train and val keys you see in the YAML are indicating the location of your images. With the config file you are showing above your folder structure should be like this:

YOUR_DATASET_NAME
--> images
----> train
------> ...all your training images
----> valid
------> ...all your validation images
--> labels
----> train
------> ...all your training labels
----> valid
------> ...all your validation labels
--> YOUR_DATASET_NAME.yaml

I hope that this helps you to upload your custom dataset. If you have any other issues please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants