Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
7e9e7844
"src/diffusers/models/controlnets/controlnet_xs.py" did not exist on "3bb1fd6fc05917ce2fc577fcda2163391c5bdcc0"
Unverified
Commit
7e9e7844
authored
Dec 11, 2023
by
Philip Meier
Committed by
GitHub
Dec 11, 2023
Browse files
disable download progress for smoke test weights (#8158)
parent
490929c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/smoke_test.py
test/smoke_test.py
+1
-1
No files found.
test/smoke_test.py
View file @
7e9e7844
...
@@ -53,7 +53,7 @@ def smoke_test_torchvision_resnet50_classify(device: str = "cpu") -> None:
...
@@ -53,7 +53,7 @@ def smoke_test_torchvision_resnet50_classify(device: str = "cpu") -> None:
# Step 1: Initialize model with the best available weights
# Step 1: Initialize model with the best available weights
weights
=
ResNet50_Weights
.
DEFAULT
weights
=
ResNet50_Weights
.
DEFAULT
model
=
resnet50
(
weights
=
weights
).
to
(
device
)
model
=
resnet50
(
weights
=
weights
,
progress
=
False
).
to
(
device
)
model
.
eval
()
model
.
eval
()
# Step 2: Initialize the inference transforms
# Step 2: Initialize the inference transforms
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment