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

Can yolov5 use as a part of commercial project , if so do we need to open-source the code or the whole project ? #12941

Closed
1 task done
krupalimistry1993 opened this issue Apr 18, 2024 · 9 comments
Labels
question Further information is requested Stale

Comments

@krupalimistry1993
Copy link

krupalimistry1993 commented Apr 18, 2024

Search before asking

Question

I want to use yolov5 as a sub-part of the project for commercial purpose.
As per you mentioned :

If you're using Ultralytics (yolo) models, architectures, or code under the AGPL-3.0 license for commercial purposes, you are indeed required to fully open source your entire project under the same AGPL-3.0 license. There are no exceptions to this rule.
So my question is ,
1.) If I use the pretrained weights of the model , and custom datasets, and train the model, do I need to open-source the code or the whole project ?
2.) If I use the model code , scratch model and custom datasets, and train the model, do I need to open-source the code or the whole project ?
3.) I will not be modifying the code, just use custom dataset, train the model and use this train model for commercial usage ? What license I should have for it ?

Additional

No response

@krupalimistry1993 krupalimistry1993 added the question Further information is requested label Apr 18, 2024
Copy link
Contributor

👋 Hello @krupalimistry1993, thank you for your interest in YOLOv5 🚀! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.

If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it.

If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results.

Requirements

Python>=3.8.0 with all requirements.txt installed including PyTorch>=1.8. To get started:

git clone https://github.com/ultralytics/yolov5  # clone
cd yolov5
pip install -r requirements.txt  # install

Environments

YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):

Status

YOLOv5 CI

If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training, validation, inference, export and benchmarks on macOS, Windows, and Ubuntu every 24 hours and on every commit.

Introducing YOLOv8 🚀

We're excited to announce the launch of our latest state-of-the-art (SOTA) object detection model for 2023 - YOLOv8 🚀!

Designed to be fast, accurate, and easy to use, YOLOv8 is an ideal choice for a wide range of object detection, image segmentation and image classification tasks. With YOLOv8, you'll be able to quickly and accurately detect objects in real-time, streamline your workflows, and achieve new levels of accuracy in your projects.

Check out our YOLOv8 Docs for details and get started with:

pip install ultralytics

@glenn-jocher
Copy link
Member

Hi there! 😊

Great questions! If you're considering using YOLOv5 for a commercial project, here are the succinct answers to your queries:

  1. & 2. Regardless of whether you're using pretrained weights or starting from scratch, if the project is commercial, you have two paths:

    • Open Source: Fully open source your entire project under the same AGPL-3.0 license.
    • Enterprise License: Obtain an Ultralytics Enterprise License for commercial use without the need to open source your project.
  2. Even if you're just using a custom dataset and not modifying our code, the same rules apply. For commercial use without opening your project under AGPL-3.0, you’d need an Ultralytics Enterprise License.

In essence, any commercial deployment of YOLOv5, whether modified or not, necessitates either open-sourcing under AGPL-3.0 or obtaining an enterprise license. There are no exceptions to this.

For further insights, please refer to our documentation: https://docs.ultralytics.com/yolov5/

Hope this clarifies your legal pathways! If you have more questions, feel free to ask. Good luck with your project! 🌟

@krupalimistry1993
Copy link
Author

Hi @glenn-jocher ,
thank you for you prompt reply.
Further few questions (related to commercial usage ),
1.) If I train the model (from scratch) using custom datasets and then export to onnx and run inference using onnx . Inference code will be custom code . Then what license would be chosen ?
2.) Suppose I have taken Enterprise License and I think it comes with the whole yolo package. So, can I use yolo models for multiple projects ?
For eg. I have bought 1-year subscription of Enterprise License. I want to use yolov5 for animal detection, yolov7 for flower detection, yolov8 for plant detection, etc. So different subscription for different projects or it comes all in one subscription.

@glenn-jocher
Copy link
Member

@krupalimistry1993 hi there! 👋

Let's dive right into your questions:

  1. Custom Training & ONNX Export for Commercial Use: Whether you train the model from scratch, use custom datasets, or employ custom code for inference (e.g., using ONNX), the project is under commercial usage. If you choose not to open source your entire project under AGPL-3.0, you will require an Ultralytics Enterprise License.

  2. Enterprise License & Multiple Projects: Once you've acquired an Ultralytics Enterprise License, you're free to use it across multiple projects within your organization – there's no need for separate subscriptions for each project or model variant (like YOLOv5, YOLOv7, YOLOv8, etc.) within the validity period of the license. Your 1-year subscription covers the use of our models for all the different applications you mentioned.

I hope this helps clear things up! Feel free to reach out if you have any more questions. Wishing you success with your projects! 🚀

@krupalimistry1993
Copy link
Author

@glenn-jocher thank you for clear answers.
Few more questions (for Enterprise License)
1.) The Enterprise License subscription is yearly , monthly ?
2.) Can we choose an option like for once buying the license and then using it for future projects . No yearly, monthly thing.

@glenn-jocher
Copy link
Member

Hi there! You're welcome. Let's quickly address your inquiries regarding the Enterprise License:

  1. Enterprise License Duration: Typically, the Enterprise License is offered on a yearly basis. This aligns with common business needs and simplifies management for both parties.

  2. Lifetime License Option: Currently, we focus on renewable licenses (yearly) to keep providing support and updates effectively. A perpetual (one-time payment for lifetime usage) option isn't part of our standard offerings. The yearly model ensures you receive the latest updates, improvements, and support for your projects.

I hope this helps! Let us know if there's anything more we can do for you. Happy to assist! 😊

@krupalimistry1993
Copy link
Author

krupalimistry1993 commented Apr 24, 2024

Hi @glenn-jocher , Thank you for the reply.
I have asked a quotations for the ultralytics Enterprise License , but still haven't received it.
Do you offer like buying a license for current model version (once and for all the current models ) something similar to Microsoft Office offers , and use it for lifetime ? If we don't require updates of future models .
Extremely sorry for such questions.

@glenn-jocher
Copy link
Member

@krupalimistry1993 hi! 😊 No worries about the questions – happy to clarify.

For the quotation and details on the Ultralytics Enterprise License, our sales team should be in touch with you shortly. They're best equipped to handle specific requests and inquiries.

As for licenses, we typically offer yearly subscriptions to ensure ongoing support and updates. We don't provide a lifetime purchase option similar to what you described with Microsoft Office. The yearly model helps us to continually offer timely updates and dedicated support for your projects.

If you have more questions or need further information, please feel free to reach out. Looking forward to assisting you further!

Copy link
Contributor

👋 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 ⭐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Stale
Projects
None yet
Development

No branches or pull requests

2 participants