albumentations.core.analytics.collectors
Data collectors for telemetry.
Members
- functioncollect_pipeline_info
- functiondetect_environment
- functionget_environment_info
- functionis_ci_environment
- functionis_pytest_running
collect_pipeline_infofunction
Collect information about the pipeline structure.
Parameters
Name | Type | Default | Description |
---|---|---|---|
compose | Compose | - | The Compose instance to analyze |
Returns
- : Dictionary with transform names and target usage information
detect_environmentfunction
Detect the runtime environment. Priority order: ci > colab > kaggle > docker > jupyter > local
Returns
- : Environment name as string
get_environment_infofunction
Collect basic environment information without external dependencies.
Returns
- : Dictionary with OS, CPU, GPU (if available), RAM, and environment type
is_ci_environmentfunction
Check if running in a CI/CD environment.
Returns
- : True if any CI environment variable is detected
is_pytest_runningfunction
Check if pytest is currently running.
Returns
- : True if pytest is detected in the environment