Skip to content

Commit 906c2e9

Browse files
DhuigeNicolasHug
andauthored
Typo backbone_utils.py (#7662)
Co-authored-by: Nicolas Hug <[email protected]>
1 parent cff78aa commit 906c2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/models/detection/backbone_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _validate_trainable_layers(
158158
if not is_trained:
159159
if trainable_backbone_layers is not None:
160160
warnings.warn(
161-
"Changing trainable_backbone_layers has not effect if "
161+
"Changing trainable_backbone_layers has no effect if "
162162
"neither pretrained nor pretrained_backbone have been set to True, "
163163
f"falling back to trainable_backbone_layers={max_value} so that all layers are trainable"
164164
)

0 commit comments

Comments
 (0)