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

Not able to run model with xview dataset #1012

Open
1 task done
AvinashMehta2000 opened this issue Feb 5, 2025 · 4 comments
Open
1 task done

Not able to run model with xview dataset #1012

AvinashMehta2000 opened this issue Feb 5, 2025 · 4 comments
Labels
bug Something isn't working HUB Ultralytics HUB issues

Comments

@AvinashMehta2000
Copy link

Search before asking

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

HUB Component

Datasets

Bug

file not found error

Image

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

@AvinashMehta2000 AvinashMehta2000 added the bug Something isn't working label Feb 5, 2025
@UltralyticsAssistant UltralyticsAssistant added the HUB Ultralytics HUB issues label Feb 5, 2025
@UltralyticsAssistant
Copy link
Member

👋 Hello @AvinashMehta2000, thank you for raising an issue about Ultralytics HUB 🚀! Please visit our HUB Docs to learn more:

  • Quickstart. Start training and deploying YOLO models with HUB in seconds.
  • Datasets: Preparing and Uploading. Learn how to prepare and upload your datasets to HUB in YOLO format.
  • Projects: Creating and Managing. Group your models into projects for improved organization.
  • Models: Training and Exporting. Train YOLOv5 and YOLOv8 models on your custom datasets and export them to various formats for deployment.
  • Integrations. Explore different integration options for your trained models, such as TensorFlow, ONNX, OpenVINO, CoreML, and PaddlePaddle.
  • Ultralytics HUB App. Learn about the Ultralytics App for iOS and Android, which allows you to run models directly on your mobile device.
    • iOS. Learn about YOLO CoreML models accelerated on Apple's Neural Engine on iPhones and iPads.
    • Android. Explore TFLite acceleration on mobile devices.
  • Inference API. Understand how to use the Inference API for running your trained models in the cloud to generate predictions.

It seems like you're encountering a file not found error 🐛 while using the xview dataset. To help us investigate and resolve this efficiently, could you provide us with more details by creating a minimum reproducible example (MRE)? Specifically, we’d need the following:

  1. The complete error message or stack trace.
  2. Steps to reproduce the issue (e.g., dataset structure, configurations used, and the exact command or workflow performed).
  3. Any other relevant information such as OS, Python version, and HUB version in use.

If you have additional context, such as the dataset files or log outputs, you can add them here as well 📎.

This is an automated response to ensure you have resources to get started. An Ultralytics engineer will review your issue soon and assist further. We appreciate your patience and understanding! 😊

@pderrenger
Copy link
Member

@AvinashMehta2000 hi there,

It looks like you're encountering a file not found error when running your model with the xView dataset. The xView dataset has a few specific steps for setup, and this error often indicates that the dataset folders or files aren’t organized as expected.

Here are a few steps you might consider:

  1. Verify that you have manually downloaded and extracted the xView data. As noted in our xView docs (see https://docs.ultralytics.com/datasets/detect/xview/), you need to download the images and labels manually and ensure you unzip the files into the correct directory (i.e., datasets/xView or whichever path you’ve defined in your YAML).

  2. Double-check your YAML configuration (xView.yaml). Ensure the paths for your images (e.g., train and val) match the actual folder structure on your system.

  3. If you are running the conversion script provided in the YAML’s “download” section (or your own custom script), verify that all images referenced in the labels are present. Missing image files can lead to a file not found error.

  4. Lastly, please confirm you’re using the latest version of the packages. A lot of issues have been resolved in recent releases, so upgrading might help if the structure or paths have changed.

If after these steps the issue persists, please share additional details about your directory setup and any modifications you’ve made. That information will help further diagnose the issue.

Hope this helps! Kudos to the YOLO community and the Ultralytics team for making these workflows possible.

@yogendrasinghx
Copy link
Member

Hi @AvinashMehta2000,

Thank you for reporting this issue. I was able to reproduce it on my end as well and have reported it to the development team. They are looking into it, and I’ll inform you once the issue is resolved.

We appreciate your patience!

@AvinashMehta2000
Copy link
Author

just wanted to know, issue resolved?

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

No branches or pull requests

4 participants