Code Monkey home page Code Monkey logo

Comments (5)

github-actions avatar github-actions commented on July 19, 2024

πŸ‘‹ Hello @CropWatchDevelopment, 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.

If this is a πŸ› Bug Report, please provide screenshots and steps to reproduce 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!

from hub.

pderrenger avatar pderrenger commented on July 19, 2024

@CropWatchDevelopment hi there,

Thank you for reaching out and providing detailed screenshots of your issue. It’s very helpful!

To better assist you, could you please provide a minimum reproducible example of your dataset upload process? This will help us diagnose the issue more effectively. You can find guidance on how to create a reproducible example here.

Additionally, please ensure that you are using the latest versions of the Ultralytics packages. Sometimes, issues like these are resolved in newer releases.

If the problem persists after following the above steps, please let us know, and we’ll be happy to investigate further.

from hub.

CropWatchDevelopment avatar CropWatchDevelopment commented on July 19, 2024

Thanks for the fast response! I apologise for not adding more detail.
Here are the steps you can take to re-create the same issue that I am seeing.

  1. Navigate to Roboflow.com, Signin and create a new classification project using the "Create New Project" Button, it may be a multi-label or standard classification type. (see image)
    image
  2. Upload images, via the upload section OR use their API
    image
  3. Be sure to have uploaded enough for a split (3 at minimum), visit the "Health Check" section and re-balance your project images making sure you have an image in each of the 3 categories:
    image
  4. Visit the "Generate" section, after generating a new set, Select Download data set, once the folder is on your computer, verifiy there are fiels in each of the folders.
    image
  5. Visit Ultralytics and upload the dataset and view the items in each category:
    image

Let me know if there is anything else I can do to help track down the root of the issue.
one thing I would like to note is that the example directory structure shows the train, validate and test sub dirs in a classify folder. doing this causes the upload dataset to be invalid.
the train and test folder will be populated in ultralytics however:
image
image

from hub.

pderrenger avatar pderrenger commented on July 19, 2024

Hi @CropWatchDevelopment,

Thank you for providing the detailed steps to reproduce the issue and the additional screenshots. This is very helpful!

Based on your description, it seems like the validation images are not being recognized correctly after uploading the dataset to Ultralytics HUB. Here are a few steps to help troubleshoot and potentially resolve the issue:

  1. Directory Structure: Ensure that the directory structure of your dataset matches the expected format. Typically, the dataset should have separate folders for train, val, and test images. It seems like you mentioned an issue with the classify folder. Make sure the structure is as follows:

    dataset/
    β”œβ”€β”€ train/
    β”œβ”€β”€ val/
    └── test/
    
  2. File Verification: Double-check that the val folder contains images and annotations if applicable. Sometimes, files might be missing or incorrectly placed.

  3. Latest Version: Ensure you are using the latest version of the Ultralytics HUB and related packages. Updates often include bug fixes and improvements that might resolve your issue.

  4. Re-upload: Try re-uploading the dataset after verifying the structure and contents. Sometimes, re-uploading can resolve unexpected issues.

If the issue persists, could you please share a minimal reproducible example of your dataset? This will help us diagnose the problem more effectively. You can find guidance on creating a reproducible example here.

Thank you for your patience and cooperation. If you have any further questions or need additional assistance, feel free to ask. We're here to help!

from hub.

sergiuwaxmann avatar sergiuwaxmann commented on July 19, 2024

@CropWatchDevelopment It looks like the dataset downloaded from Roboflow doesn't have the correct directory structure as pointed out by @pderrenger. Please make sure your directory structure is correct.
You can read more about this on our docs.

from hub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.