Skip to content

Commit

Permalink
Update comments regarding difference among object detection models
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-jiao authored Dec 18, 2024
1 parent f7b1cfa commit 0595f76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ Here is an example of how to use the pre-trained object detection models:
# Step 1: Initialize model with the best available weights
weights = FasterRCNN_ResNet50_FPN_V2_Weights.DEFAULT
# for FCOS, RetinaNet, SSD and SSDlite, use `score_thresh=0.9`.
model = fasterrcnn_resnet50_fpn_v2(weights=weights, box_score_thresh=0.9)
model.eval()
Expand Down

0 comments on commit 0595f76

Please sign in to comment.