Shortcuts

KeypointDetector

class flash.image.keypoint_detection.model.KeypointDetector(num_keypoints, num_classes=2, backbone='resnet18_fpn', head='keypoint_rcnn', pretrained=True, optimizer='Adam', lr_scheduler=None, learning_rate=None, predict_kwargs=None, **kwargs)[source]

The KeypointDetector is a Task for detecting keypoints in images. For more details, see Keypoint Detection.

Parameters
classmethod available_finetuning_strategies(cls)

Returns a list containing the keys of the available Finetuning Strategies.

Return type

List[str]

classmethod available_lr_schedulers(cls)

Returns a list containing the keys of the available LR schedulers.

Return type

List[str]

classmethod available_optimizers(cls)

Returns a list containing the keys of the available Optimizers.

Return type

List[str]

property predict_kwargs: Dict[str, Any]

The kwargs used for the prediction step.

Return type

Dict[str, Any]