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

Resolution Option, Does it need to be square 1920*1920? Can I do 1920*1080? #727

Open
1 task done
felixho789 opened this issue Jun 14, 2024 · 2 comments
Open
1 task done
Labels
question A HUB question that does not involve a bug

Comments

@felixho789
Copy link

Search before asking

Question

Resolution Option, Does it need to be square 19201920? Can I do 19201080?
As the ultralytics HUB doesn't seems like allowing me to put 1920*1080 in the image size

Additional

No response

@felixho789 felixho789 added the question A HUB question that does not involve a bug label Jun 14, 2024
Copy link

👋 Hello @felixho789, 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!

@pderrenger
Copy link
Member

@felixho789 hello!

Thank you for reaching out with your question. The Ultralytics HUB does not strictly require a square resolution like 1920x1920 for your images. You can indeed use a resolution of 1920x1080. However, there are a few considerations to keep in mind:

  1. Aspect Ratio: Ensure that the aspect ratio of your images is consistent with your dataset to avoid any distortion during training or inference.

  2. Image Size Configuration: If the HUB interface is not allowing you to set a non-square resolution, it might be due to a specific configuration or a potential bug. Please make sure you are using the latest versions of torch, ultralytics, and hub-sdk. You can update your packages using the following commands:

    pip install --upgrade torch ultralytics hub-sdk
  3. Minimum Reproducible Example: If you continue to face issues, could you please provide a minimum reproducible code example? This will help us understand the problem better and offer a more precise solution. You can refer to our documentation on how to create a minimum reproducible example here: Minimum Reproducible Example.

We appreciate your cooperation and look forward to assisting you further. If you have any more questions or need additional help, feel free to ask!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A HUB question that does not involve a bug
Projects
None yet
Development

No branches or pull requests

2 participants