random_patching_model
Random patching Pydantic model.
RandomPatchingModel #
Bases: _PatchedModel
Random patching Pydantic model.
Attributes:
| Name | Type | Description |
|---|---|---|
name | random | The name of the patching strategy. |
patch_size | sequence of int | The size of the patch in each spatial dimension, each patch size must be a power of 2 and larger than 8. |
Source code in src/careamics/config/data/patching_strategies/random_patching_model.py
name = 'random' class-attribute instance-attribute #
The name of the patching strategy.