Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-nv committed Apr 5, 2023
1 parent b47286d commit 67015a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/imagenet-tagging.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,10 @@ predictions = net.Classify(img, topK=args.topK)
for n, (classID, confidence) in enumerate(predictions):
classLabel = net.GetClassLabel(classID)
confidence *= 100.0
print(f"imagenet: {confidence:05.2f}% class #{classID} ({classLabel})")
```

Note that topK can also be used in ordinary single-class classification, to get the top N results, although those models weren't trained for image tagging.
Note that topK can also be used in single-class classification to get the top N results, although those models weren't trained for image tagging.

<p align="right">Next | <b><a href="detectnet-console-2.md">Detecting Objects from Images</a></b>
<br/>
Expand Down

0 comments on commit 67015a9

Please sign in to comment.