Skip to content

Commit d177e2a

Browse files
authored
Typo backbone_utils.py
has not effect if -> has no effect if
1 parent 657027f commit d177e2a

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)