View source on GitHub |
The hyperparameters for training gesture recognizer.
Inherits From: BaseHParams
mediapipe_model_maker.gesture_recognizer.HParams(
learning_rate: float = 0.001,
batch_size: int = 2,
epochs: int = 10,
steps_per_epoch: Optional[int] = None,
class_weights: Optional[Mapping[int, float]] = None,
shuffle: bool = False,
repeat: bool = False,
export_dir: str = tempfile.mkdtemp(),
distribution_strategy: str = 'off',
num_gpus: int = 0,
tpu: str = '',
lr_decay: float = 0.99,
gamma: int = 2
)
Methods
get_strategy
get_strategy()
__eq__
__eq__(
other
)