care_algorithm_config
CARE algorithm configuration.
CAREAlgorithm #
Bases: UNetBasedAlgorithm
CARE algorithm configuration.
Attributes:
| Name | Type | Description |
|---|---|---|
algorithm | care | CARE Algorithm name. |
loss | {mae, mse} | CARE-compatible loss function. |
Source code in src/careamics/config/algorithms/care_algorithm_config.py
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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | |
algorithm = 'care' class-attribute instance-attribute #
CARE Algorithm name.
loss = 'mae' class-attribute instance-attribute #
CARE-compatible loss function.
model instance-attribute #
UNet without a final activation function and without the n2v2 modifications.
get_algorithm_citations() #
Return a list of citation entries of the current algorithm.
This is used to generate the model description for the BioImage Model Zoo.
Returns:
| Type | Description |
|---|---|
List[CiteEntry] | List of citation entries. |
Source code in src/careamics/config/algorithms/care_algorithm_config.py
get_algorithm_description() #
Get the algorithm description.
Returns:
| Type | Description |
|---|---|
str | Algorithm description. |
get_algorithm_friendly_name() #
Get the algorithm friendly name.
Returns:
| Type | Description |
|---|---|
str | Friendly name of the algorithm. |
get_algorithm_keywords() #
Get algorithm keywords.
Returns:
| Type | Description |
|---|---|
list[str] | List of keywords. |
Source code in src/careamics/config/algorithms/care_algorithm_config.py
get_algorithm_references() #
Get the algorithm references.
This is used to generate the README of the BioImage Model Zoo export.
Returns:
| Type | Description |
|---|---|
str | Algorithm references. |
Source code in src/careamics/config/algorithms/care_algorithm_config.py
is_supervised() classmethod #
Return whether the algorithm is supervised.
Returns:
| Type | Description |
|---|---|
bool | Whether the algorithm is supervised. |