Appearance
relai package
Subpackages
- relai.configurations package
- relai.datasets package
- Submodules
- relai.datasets.coco_format module
- relai.datasets.image_folder module
- relai.datasets.relai_dataset module
- relai.datasets.segmentation_dataset module
- relai.datasets.utils module
- Module contents
- relai.metrics package
- Submodules
- relai.metrics.metrics module
- relai.metrics.statistics module
- Module contents
- relai.models package
- relai.text package
- relai.transforms package
- relai.utils package
- relai.vision package
- Subpackages
- Submodules
- relai.vision.robustness_test module
- Module contents
Submodules
relai.relai_algorithm module
class relai.relai_algorithm.RELAIAlgorithm(fabric: Fabric = None)
Bases: object
Base class for all algorithms in the relai_algorithms package. Any users of the relai_algorithms package should not need to interact with this class directly.
- Parameters:
- fabric (L.Fabric , optional) – Lightning fabric to run the algorithm. If None, a new fabric with 1 device will be created. Defaults to None.
- save_to_path (Union *[*str , Path ] , optional) – Path to save the outputs to. If None, the outputs will be saved to the current working directory with a default name that includes the algorithm name and a timestamp. If provided and the parent directories do not exist, they will be silently created. Defaults to None.
relai.relai_params_validator module
class relai.relai_params_validator.RELAIParamsValidator(schema)
Bases: object