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

Import Google Vertex AI custom model #405

Closed
1 task done
user080975 opened this issue Sep 21, 2023 · 5 comments
Closed
1 task done

Import Google Vertex AI custom model #405

user080975 opened this issue Sep 21, 2023 · 5 comments
Labels
question A HUB question that does not involve a bug Stale

Comments

@user080975
Copy link

Search before asking

Question

Hi,

Currently we have a custom trained model and labeled images in Google Vertex AI. Is it possible to export and import this into Ultralytics HUB for use as a custom model?

If so, what would the steps be?

Thank You!

Additional

No response

@user080975 user080975 added the question A HUB question that does not involve a bug label Sep 21, 2023
@github-actions
Copy link

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

@kalenmike
Copy link
Contributor

@user080975 Thanks for asking the question. At the moment there is no import capabilities within HUB. What is your intended use case? Perhaps we can add it the feature list provided there is enough interest.

@user080975
Copy link
Author

Thank you for your reply! I wrote a small python script to convert the dataset exported from Google Vertex into bounding boxes and associated images into the required format for Ultralytics Hub.

If we need to create segmentation masks using Yolov8 and want to use our own custom model and the original data consists of images / bounding boxes, when I upload the zip folder to Ultralytics Hub, should I select "Detect" or "Segment"?

@github-actions
Copy link

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐

@github-actions github-actions bot added the Stale label Oct 23, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2023
@UltralyticsAssistant
Copy link
Member

@user080975 you're on the right track with preparing your dataset. If you are planning to use YOLOv8 for instance segmentation and your original data consists of images with bounding boxes, when uploading the dataset to the Ultralytics HUB, you would typically select "Segment" to work with instance segmentation tasks.

However, if your dataset currently only contains bounding boxes and doesn't include segmentation masks, you may need to first convert your bounding box annotations to segmentation masks. YOLOv8 would require those masks for segmentation tasks. If you don't have segmentation masks and are only performing object detection tasks, then "Detect" would be the appropriate choice.

Remember that for segmentation, your dataset needs to be in a format that includes pixel-wise mask annotations, rather than just bounding boxes. If this process sounds complex or you need further information on dataset preparation and formats, you can check the Ultralytics HUB Docs for guidance.

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 Stale
Projects
None yet
Development

No branches or pull requests

3 participants