Skip to content

Commit dbb26e1

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] Typo backbone_utils.py (#7662)
Summary: Co-authored-by: Nicolas Hug <[email protected]> Reviewed By: vmoens Differential Revision: D46724121 fbshipit-source-id: 8a10f48b57b1920985c48a1f3592ab5834f96fdd
1 parent d6f29b2 commit dbb26e1

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)