Extra model structures
terratorch.models.model.Model
#
Bases: ABC
, Module
Source code in terratorch/models/model.py
terratorch.models.model.AuxiliaryHead
dataclass
#
Class containing all information to create auxiliary heads.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
Name of the head. Should match the name given to the auxiliary loss. |
required |
decoder
|
str
|
Name of the decoder class to be used. |
required |
decoder_args
|
dict | None
|
parameters to be passed to the decoder constructor.
Parameters for the decoder should be prefixed with |
required |
Source code in terratorch/models/model.py
terratorch.models.model.ModelOutput
dataclass
#
Last update:
March 20, 2025