ultralytics / yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
49.99k stars 16.16k forks source link

分割? #13327

Open pjh11214 opened 1 week ago

pjh11214 commented 1 week ago

Search before asking

Question

Segmentation code is instance segmentation or semantic segmentation? I am optimistic that many data are said to be instance segmentation, then I want to until how to let the target output of the same class is a different color mask?

Additional

No response

UltralyticsAssistant commented 1 week ago

👋 Hello @pjh11214, thank you for reaching out and your interest in YOLOv5 🚀! This is an automated response to your query, and an Ultralytics engineer will assist you soon.

Please explore our ⭐️ Tutorials where you can dive into various tasks, including Custom Data Training and advanced sections.

If your query relates to setup or usage, please ensure you are following the setup instructions:

Requirements

Make sure you have Python>=3.8.0 installed, with all dependencies from requirements.txt including PyTorch>=1.8. Begin by running:

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

Explore Environments

You can run YOLOv5 in verified environments for convenience:

For your segmentation question, understanding the distinction between instance and semantic segmentation is crucial. Ensure your implementation aligns with your segmentation needs. If this is a bug report or if you encounter unexpected behavior, kindly provide a minimum reproducible example.

Check Our Latest

Don't miss out on our latest YOLOv8 🚀! Learn more at YOLOv8 Docs and get started with:

pip install ultralytics

Feel free to refer to the YOLOv5 GitHub Actions to verify active testing status:

YOLOv5 CI

Thank you for your patience, and we're excited to assist you further! 😊