Skip to content

Commit

Permalink
disable download progress for smoke test weights (#8158)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier authored Dec 11, 2023
1 parent 490929c commit 7e9e784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def smoke_test_torchvision_resnet50_classify(device: str = "cpu") -> None:

# Step 1: Initialize model with the best available weights
weights = ResNet50_Weights.DEFAULT
model = resnet50(weights=weights).to(device)
model = resnet50(weights=weights, progress=False).to(device)
model.eval()

# Step 2: Initialize the inference transforms
Expand Down

0 comments on commit 7e9e784

Please sign in to comment.