Skip to content

Commit 3d82e83

Browse files
Merge pull request #1290 from mikel-brostrom/agnostic-nms-arg
add agnostic nms arg
2 parents df42418 + 99b77e3 commit 3d82e83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/track.py

+3
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def run(args):
6868
source=args.source,
6969
conf=args.conf,
7070
iou=args.iou,
71+
agnostic_nms=args.agnostic_nms,
7172
show=args.show,
7273
stream=True,
7374
device=args.device,
@@ -187,6 +188,8 @@ def parse_opt():
187188
help='not mix up classes when tracking')
188189
parser.add_argument('--verbose', default=True, action='store_true',
189190
help='print results per frame')
191+
parser.add_argument('--agnostic-nms', default=False, action='store_true',
192+
help='class-agnostic NMS')
190193

191194
opt = parser.parse_args()
192195
return opt

0 commit comments

Comments
 (0)