Skip to content

Commit

Permalink
Enable encoder freezing in SegFormer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
valhassan committed Dec 9, 2024
1 parent 3f0f2de commit eafca1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configs/segformer_config_RGB.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ model:
class_path: segmentation_models_pytorch.losses.DiceLoss
init_args:
mode: "multiclass"
freeze_encoder: true
class_labels: ["background", "fore", "hydro", "roads", "buildings"]
class_colors: ["#000000", "#008000", "#0000FF", "#FFFF00", "#FF0000"]
weights_from_checkpoint_path: null
Expand Down

0 comments on commit eafca1e

Please sign in to comment.