PLMASF
PLMASfArgs
dataclass
Bases: DLModelArgs
Model arguments for the PLMASf model.
Attributes:
| Name | Type | Description |
|---|---|---|
batch_size |
int
|
The batch size for training. |
accumulate_grad_batches |
int
|
The number of batches to accumulate gradients. |
backbone |
BackboneNames
|
The backbone model to use. |
use_fixation_report |
bool
|
Whether to use fixation report. |
freeze |
bool
|
Whether to freeze the model parameters. |
fixation_features |
list[str]
|
List of fixation features to use. |
eye_features |
list[str]
|
List of eye features to use. |
ia_categorical_features |
list[str]
|
List of categorical interest area features. |
lstm_hidden_size |
int
|
Hidden size for the LSTM layers. |
lstm_num_layers |
int
|
Number of LSTM layers in the model. |
lstm_dropout |
float
|
Dropout rate for the LSTM layers. |
Source code in src/configs/models/dl/PLMASF.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | |