From ac2b50f0463ab97afa6a05e9df041e223dafc934 Mon Sep 17 00:00:00 2001 From: marco-cheung Date: Tue, 6 Jun 2023 00:26:18 +0800 Subject: [PATCH] Revised python sample code typo in imagenet-tagging.md --- docs/imagenet-tagging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/imagenet-tagging.md b/docs/imagenet-tagging.md index 0aaf397f6..266084605 100644 --- a/docs/imagenet-tagging.md +++ b/docs/imagenet-tagging.md @@ -16,7 +16,7 @@ To enable image tagging, you'll want to run imagenet/imagenet.py with `--topK=0` $ imagenet --model=resnet18-tagging-voc --topK=0 --threshold=0.25 "images/object_*.jpg" images/test/tagging_%i.jpg" # Python -$ imagenet.py --model=resnet18-tagging-voc --topK=0 --threshold=0.25 "images/object_*.jpg" images/test/tagging_%i.jpg" +$ imagenet.py --model=resnet18-tagging-voc --topK=0 --threshold=0.25 "images/object_*.jpg" images/test/tagging_%i.jpg ``` Using `--topK=0` means that all the classes with a confidence score exceeding the threshold will be returned by the classifier.