deeplabcut.pose_estimation_pytorch.models.criterions.base
Classes:
| Name | Description |
|---|---|
BaseCriterion |
|
BaseLossAggregator |
|
BaseCriterion
Methods:
| Name | Description |
|---|---|
forward |
Args: |
Source code in deeplabcut/pose_estimation_pytorch/models/criterions/base.py
forward
abstractmethod
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
Tensor
|
the output from which to compute the loss |
required |
|
Tensor
|
the target for the loss |
required |
Returns:
| Type | Description |
|---|---|
Tensor
|
the different losses for the module, including one "total_loss" key which is the loss from which to start backpropagation |