Unverified Commit 906c2e95 authored by Dhuige's avatar Dhuige Committed by GitHub
Browse files

Typo backbone_utils.py (#7662)


Co-authored-by: default avatarNicolas Hug <nh.nicolas.hug@gmail.com>
parent cff78aa6
......@@ -158,7 +158,7 @@ def _validate_trainable_layers(
if not is_trained:
if trainable_backbone_layers is not None:
warnings.warn(
"Changing trainable_backbone_layers has not effect if "
"Changing trainable_backbone_layers has no effect if "
"neither pretrained nor pretrained_backbone have been set to True, "
f"falling back to trainable_backbone_layers={max_value} so that all layers are trainable"
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment