Skip to content

Commit

Permalink
Doc changes (#1253)
Browse files Browse the repository at this point in the history
* num classes specified was wrong

* wrong num_classes specified

---------

Co-authored-by: Ofri Masad <ofrimasad@users.noreply.github.com>
Co-authored-by: Eugene Khvedchenya <ekhvedchenya@gmail.com>
  • Loading branch information
3 people committed Aug 13, 2023
1 parent b6499b6 commit fe5a0e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/source/qat_ptq_yolo_nas.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ from super_gradients.common.object_names import Models
from super_gradients.training import models

model = models.get(Models.YOLO_NAS_S,
checkpoint_path=<YOUR_CHECKPOINTS_ROOT_DIRECTORY>/yolo_nas_s_soccer_players/ckpt_best.pth>,
num_classes=4)
checkpoint_path=<YOUR_CHECKPOINTS_ROOT_DIRECTORY>/yolo_nas_s_soccer_players/ckpt_best.pth>,
num_classes=3)
predictions = model.predict("messi_penalty.mp4")
predictions.show(show_confidence=False)
```
Expand Down

0 comments on commit fe5a0e7

Please sign in to comment.