How to remove unwanted classes using pre-trained weights
I want to detect only persons from the pre-trained weights. I don't want to train the model again.
How to remove others labels and classes?
Hello @lan786, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook , Docker Image, and Google Cloud Quickstart Guide for example environments.
If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.
If this is a custom model or data training question, please note Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com.
@lan786 if you want to use pretrained weights for person detection only:
python detect.py --classes 0
@glenn-jocher Thanks for your help
Most helpful comment
@lan786 if you want to use pretrained weights for person detection only:
python detect.py --classes 0