We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6c611b commit 05bc7b4Copy full SHA for 05bc7b4
api/__init__.py
@@ -315,6 +315,7 @@ def main():
315
args = cmd_parser.parse_args()
316
317
main()
318
+
319
320
"""
321
python3 api/__init__.py train --model yolov8n.yaml\
api/schemas.py
@@ -135,10 +135,13 @@ class Meta:
135
},
136
load_default=False,
137
)
138
- classes = fields.Field(
+ classes = fields.List(
139
+ fields.Int(),
140
metadata={
141
"description": "Filter results by class, i.e. class=0, "
- "or class=[0,2,3]"
142
+ "or class=[0,2,3]. Only detections belonging to the "
143
+ "specified classes will be returned. Useful for focusing"
144
+ " on relevant objects in multi-class detection tasks."
145
146
load_default=None,
147
0 commit comments