Shortcuts

PointCloudSegmentation

class flash.pointcloud.segmentation.model.PointCloudSegmentation(num_classes, backbone='randlanet', backbone_kwargs=None, head=None, loss_fn=torch.nn.functional.cross_entropy, optimizer='Adam', lr_scheduler=None, metrics=None, learning_rate=None, multi_label=False)[source]

The PointCloudClassifier is a ClassificationTask that classifies pointcloud data.

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]

classmethod available_outputs(cls)

Returns the list of available outputs (that can be used during prediction or serving) for this Task.

Examples

..testsetup:

>>> from flash import Task
>>> print(Task.available_outputs())
['preds', 'raw']
Return type

List[str]

forward(x)[source]

First call the backbone, then the model head.

Return type

Tensor

modules_to_freeze()[source]

Return the module attributes of the model to be frozen.

Return type

Union[Module, Iterable[Union[Module, Iterable]]]