API Reference
The API reference is generated from the public Python modules.
Core
Fovux configuration loader.
Reads config.toml from FOVUX_HOME, applies environment variable overrides, and exposes a typed FovuxConfig object.
FovuxConfig
Bases: BaseModel
Root Fovux configuration.
Source code in src/fovux/config.py
fovux_paths
property
Return a FovuxPaths resolved from the current config.
telemetry_enabled
property
Return effective telemetry setting, respecting FOVUX_NO_TELEMETRY.
InferenceConfig
PathsConfig
TelemetryConfig
TrainingConfig
UIConfig
ValidationConfig
clear_config_cache()
load_config(config_path=None)
Load Fovux configuration from config.toml.
Priority: env vars > config.toml > defaults.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config_path
|
Path | None
|
Override path to config.toml. Defaults to FOVUX_HOME/config.toml. |
None
|
Returns:
| Type | Description |
|---|---|
FovuxConfig
|
Validated FovuxConfig instance. |
Source code in src/fovux/config.py
write_default_config(config_path)
Write a default config.toml to the given path.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config_path
|
Path
|
Destination path for config.toml. |
required |
Source code in src/fovux/config.py
Fovux exception hierarchy.
All exceptions raised by Fovux tools are subclasses of FovuxError. External library exceptions (ultralytics, cv2, onnx) must never bubble up raw.
FovuxCheckpointNotFoundError
Bases: FovuxEvalError
Checkpoint file does not exist.
Source code in src/fovux/core/errors.py
__init__(path)
Initialize with the missing checkpoint path.
FovuxConfigError
FovuxDatasetEmptyError
Bases: FovuxDatasetError
Dataset contains zero images.
Source code in src/fovux/core/errors.py
__init__(path, message=None)
Initialize with the empty dataset path.
Source code in src/fovux/core/errors.py
FovuxDatasetError
FovuxDatasetFormatError
Bases: FovuxDatasetError
Dataset format cannot be detected or is malformed.
Source code in src/fovux/core/errors.py
FovuxDatasetNotFoundError
Bases: FovuxDatasetError
Dataset path does not exist.
Source code in src/fovux/core/errors.py
FovuxError
Bases: Exception
Base exception for all Fovux errors.
Attributes:
| Name | Type | Description |
|---|---|---|
code |
str
|
Stable error code string (e.g. FOVUX_DATASET_001). |
message |
Human-readable description. |
|
hint |
Optional remediation hint for the user. |
Source code in src/fovux/core/errors.py
__init__(message, hint=None)
Initialize FovuxError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message
|
str
|
Human-readable error description. |
required |
hint
|
str | None
|
Optional remediation hint. |
None
|
Source code in src/fovux/core/errors.py
FovuxEvalError
FovuxExportError
FovuxExportParityError
Bases: FovuxExportError
Roundtrip parity check failed after export.
Source code in src/fovux/core/errors.py
FovuxInferenceError
FovuxPathValidationError
Bases: FovuxConfigError
Raised when a filesystem path violates local safety checks.
Source code in src/fovux/core/errors.py
__init__(path, reason, hint=None)
Initialize the path validation error.
Source code in src/fovux/core/errors.py
FovuxRtspConnectionError
Bases: FovuxInferenceError
RTSP stream could not be opened.
Source code in src/fovux/core/errors.py
__init__(url)
Initialize with the failing RTSP URL.
FovuxTrainingAlreadyRunningError
Bases: FovuxTrainingError
Attempt to start training on an already-running run.
Source code in src/fovux/core/errors.py
FovuxTrainingError
FovuxTrainingRunNotFoundError
Bases: FovuxTrainingError
Run ID does not exist in the registry.
Source code in src/fovux/core/errors.py
FovuxTrainingSubprocessError
Bases: FovuxTrainingError
Training subprocess exited with non-zero code.
Source code in src/fovux/core/errors.py
Fovux home directory resolution and path helpers.
FovuxPaths
Typed container for all Fovux filesystem paths.
Attributes:
| Name | Type | Description |
|---|---|---|
home |
Root Fovux data directory. |
|
runs |
Training run directories. |
|
models |
Pretrained / imported checkpoints. |
|
cache |
Perceptual hashes, thumbnails, dataset cache. |
|
exports |
Exported ONNX / TFLite / TensorRT artifacts. |
|
datasets |
Indexed dataset metadata (not raw images). |
|
runs_db |
SQLite runs index. |
|
config_file |
User-level config.toml. |
Source code in src/fovux/core/paths.py
__init__(home, path_overrides=None, *, load_config_file=True)
Initialize with a home directory.
Source code in src/fovux/core/paths.py
__repr__()
run_dir(run_id)
Return the directory for a specific run.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
run_id
|
str
|
The run identifier string. |
required |
Returns:
| Type | Description |
|---|---|
Path
|
Path to the run directory. |
ensure_fovux_dirs(home=None)
Create all required Fovux subdirectories and return a FovuxPaths instance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
home
|
Path | None
|
Override the home directory (defaults to get_fovux_home()). |
None
|
Returns:
| Type | Description |
|---|---|
FovuxPaths
|
FovuxPaths with all directories created. |
Source code in src/fovux/core/paths.py
get_fovux_home()
Resolve the Fovux home directory.
Priority order: 1. FOVUX_HOME environment variable 2. ~/.fovux
Returns:
| Type | Description |
|---|---|
Path
|
Absolute Path to the Fovux home directory. |
Source code in src/fovux/core/paths.py
SQLite-backed run registry.
Tracks all training runs: metadata, status, metrics pointers.
ArtifactRecord
Bases: Base
ORM model for artifacts (e.g. checkpoints, exports, datasets).
Source code in src/fovux/core/runs.py
AuditEventRecord
Bases: Base
ORM model for security/system audit events.
Source code in src/fovux/core/runs.py
Base
DatasetRecord
Bases: Base
ORM model for datasets.
Source code in src/fovux/core/runs.py
ExportRecord
Bases: Base
ORM model for model exports.
Source code in src/fovux/core/runs.py
MetricRecord
Bases: Base
ORM model for step or epoch-level metrics.
Source code in src/fovux/core/runs.py
ModelRecord
Bases: Base
ORM model for registered or downloaded models.
Source code in src/fovux/core/runs.py
OperationEventRecord
Bases: Base
ORM model for operation lifecycle events (for SSE resume).
Source code in src/fovux/core/runs.py
OperationRecord
Bases: Base
ORM model for a background operation.
Source code in src/fovux/core/runs.py
ReviewQueueEntry
Bases: Base
ORM model for active learning review queue entries.
Source code in src/fovux/core/runs.py
RunEventRecord
Bases: Base
ORM model for run lifecycle events (status transition, artifact creation, etc.).
Source code in src/fovux/core/runs.py
RunRecord
Bases: Base
ORM model for a training run row.
Source code in src/fovux/core/runs.py
RunRegistry
CRUD interface for the SQLite runs registry.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
db_path
|
Path
|
Path to the SQLite database file. |
required |
Source code in src/fovux/core/runs.py
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 | |
__init__(db_path)
Initialize and create tables if needed.
Source code in src/fovux/core/runs.py
add_artifact(artifact_id, run_id, artifact_type, path, sha256=None, size=None, extra=None)
Register or merge a new artifact record.
Source code in src/fovux/core/runs.py
add_metric(run_id, epoch, key, value)
Record an epoch-level training metric.
Source code in src/fovux/core/runs.py
add_review_queue_entry(entry_id, image_path, dataset_path, score, reason, predictions)
Add or update an active learning review queue entry.
Source code in src/fovux/core/runs.py
close()
create_operation(op_id, tool, arguments, idempotency_key=None)
Insert a new operation record.
Source code in src/fovux/core/runs.py
create_operation_event(op_id, event_type, data)
Create and persist a lifecycle event for an operation.
Source code in src/fovux/core/runs.py
create_run(run_id, run_path, model, dataset_path, task, epochs, tags=None, extra=None, dataset_fingerprint=None, config_hash=None, code_version=None, env_summary=None, parent_run_id=None)
Insert a new run record.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
run_id
|
str
|
Unique run identifier. |
required |
run_path
|
Path
|
Path to the run directory. |
required |
model
|
str
|
Model name or path. |
required |
dataset_path
|
Path
|
Path to the dataset. |
required |
task
|
str
|
YOLO task (detect, segment, classify, pose, obb). |
required |
epochs
|
int
|
Total training epochs. |
required |
tags
|
list[str] | None
|
Optional list of user tags. |
None
|
extra
|
dict[str, Any] | None
|
Optional extra metadata dict. |
None
|
dataset_fingerprint
|
str | None
|
Optional fingerprint of dataset. |
None
|
config_hash
|
str | None
|
Optional hash of config. |
None
|
code_version
|
str | None
|
Optional code version. |
None
|
env_summary
|
str | None
|
Optional system environment summary. |
None
|
parent_run_id
|
str | None
|
Optional parent run/checkpoint reference. |
None
|
Returns:
| Type | Description |
|---|---|
RunRecord
|
The newly created RunRecord. |
Source code in src/fovux/core/runs.py
delete_run(run_id)
Delete a run record.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
run_id
|
str
|
The run identifier. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True if deleted, False if not found. |
Source code in src/fovux/core/runs.py
get_dataset(fingerprint)
get_operation(op_id)
Fetch an operation by ID.
Source code in src/fovux/core/runs.py
get_operation_by_idempotency_key(idempotency_key)
Fetch an operation by idempotency key.
Source code in src/fovux/core/runs.py
get_review_queue_entry(entry_id)
get_run(run_id)
Fetch a run by ID.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
run_id
|
str
|
The run identifier. |
required |
Returns:
| Type | Description |
|---|---|
RunRecord | None
|
RunRecord or None if not found. |
Source code in src/fovux/core/runs.py
list_artifacts(run_id=None, limit=1000)
List registered artifacts.
Source code in src/fovux/core/runs.py
list_audit_events(limit=100, offset=0)
List audit events ordered by created_at desc.
Source code in src/fovux/core/runs.py
list_datasets(limit=100)
List registered datasets.
Source code in src/fovux/core/runs.py
list_exports(run_id=None, limit=100)
List recorded exports.
Source code in src/fovux/core/runs.py
list_metrics(run_id, limit=1000)
List metrics for a run.
Source code in src/fovux/core/runs.py
list_operation_events(last_event_id=None, limit=1000)
List operation events newer than last_event_id.
Source code in src/fovux/core/runs.py
list_operations(limit=100)
List operations ordered by created_at desc.
Source code in src/fovux/core/runs.py
list_review_queue_entries(dataset_path=None, status='pending', limit=100)
List active learning review queue entries ordered by score desc.
Source code in src/fovux/core/runs.py
list_run_events(run_id=None, limit=1000)
List run lifecycle and audit events.
Source code in src/fovux/core/runs.py
list_runs(status=None, limit=100, offset=0)
List runs, optionally filtered by status.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
status
|
RunStatus | None
|
Filter by this status if provided. |
None
|
limit
|
int
|
Maximum number of results. |
100
|
offset
|
int
|
Number of results to skip before returning rows. |
0
|
Returns:
| Type | Description |
|---|---|
list[RunRecord]
|
List of RunRecord objects ordered by created_at desc. |
Source code in src/fovux/core/runs.py
log_audit_event(actor, action, entity_type, entity_id, details)
Log an audit event to the database.
Source code in src/fovux/core/runs.py
record_export(export_id, run_id, source_checkpoint, artifact_path, format, duration_s=None, validation_result=None)
Record a model export and associate it with a corresponding artifact.
Source code in src/fovux/core/runs.py
reserve_run_slot(run_id, run_path, model, dataset_path, task, epochs, max_concurrent_runs, tags=None, extra=None, dataset_fingerprint=None, config_hash=None, code_version=None, env_summary=None, parent_run_id=None)
Reserve a run slot atomically, locking the DB if concurrent limit is set.
Source code in src/fovux/core/runs.py
update_extra(run_id, extra)
Merge extra metadata into a run record.
Source code in src/fovux/core/runs.py
update_operation_progress(op_id, progress)
Update progress percentage of an operation.
Source code in src/fovux/core/runs.py
update_operation_status(op_id, status, error_type=None, error=None, result=None, run_id=None)
Update operation status, timestamps, results/errors.
Source code in src/fovux/core/runs.py
update_review_queue_status(entry_id, status, corrected_labels=None)
Update review queue entry status and corrections.
Source code in src/fovux/core/runs.py
update_status(run_id, status, pid=None)
Update run status and optionally pid.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
run_id
|
str
|
The run identifier. |
required |
status
|
RunStatus
|
New status value. |
required |
pid
|
int | None
|
Process ID of the training subprocess (if applicable). |
None
|
Source code in src/fovux/core/runs.py
update_tags(run_id, tags)
Replace a run's tag list.
Source code in src/fovux/core/runs.py
SchemaMigrationRecord
TagRecord
close_registry(db_path=None)
Dispose cached registry engines for one database or all databases.
Source code in src/fovux/core/runs.py
get_registry(db_path)
Return a process-local singleton registry for a database path.
Source code in src/fovux/core/runs.py
Structured logger backed by structlog for production-grade observability.
Respects
FOVUX_LOG_LEVEL — DEBUG | INFO | WARNING | ERROR (default: INFO) FOVUX_LOG_FORMAT — json | pretty (default: pretty) NO_COLOR — disable ANSI colours when set to any non-empty value
configure_logging(level=None, fmt=None)
Configure structured logging for the Fovux process.
Safe to call multiple times — subsequent calls reconfigure in-place.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
level
|
str | None
|
Override for FOVUX_LOG_LEVEL. |
None
|
fmt
|
str | None
|
Override for FOVUX_LOG_FORMAT ( |
None
|
Source code in src/fovux/core/logging.py
get_logger(name)
Return a structured logger for the given module name.
Uses structlog when available, falls back to stdlib logging.Logger.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Typically |
required |
Returns:
| Type | Description |
|---|---|
_Logger
|
A logger compatible with |
Source code in src/fovux/core/logging.py
HTTP route definitions for fovux-studio integration.
Endpoints
GET /runs — list all runs GET /runs/{run_id} — single run metadata GET /runs/{run_id}/stream — canonical SSE stream of metrics.jsonl lines GET /runs/{run_id}/metrics — compatibility SSE stream of metrics.jsonl lines POST /tools/{name} — proxy to MCP tool call
CreateOperationInput
Bases: BaseModel
Input parameters to create a background operation.
Source code in src/fovux/http/routes.py
RunsSearchInput
Bases: BaseModel
Input payload for run search filters.
Source code in src/fovux/http/routes.py
cancel_operation_route(id, request)
async
Request cancellation of a background operation.
Source code in src/fovux/http/routes.py
create_operation_route(request, body)
async
Create a persistent background operation with an optional idempotency key.
Source code in src/fovux/http/routes.py
985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 | |
get_dataset(fingerprint)
async
Fetch single dataset record by fingerprint.
Source code in src/fovux/http/routes.py
get_operation_logs_route(id)
async
Fetch or stream execution logs for a background operation.
Source code in src/fovux/http/routes.py
get_operation_result_route(id)
async
Fetch the final result of a background operation.
Source code in src/fovux/http/routes.py
get_operation_route(id)
async
Get status and metadata for a background operation.
Source code in src/fovux/http/routes.py
get_run(run_id)
async
Get metadata for a single run.
Source code in src/fovux/http/routes.py
get_run_events(run_id)
async
Fetch all lifecycle and audit events for a single run.
Source code in src/fovux/http/routes.py
get_run_lineage(run_id)
async
Fetch experiment lineage information for a run.
Source code in src/fovux/http/routes.py
1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 | |
health()
async
list_datasets()
async
List all registered datasets in the ledger.
Source code in src/fovux/http/routes.py
list_exports()
async
List all model exports recorded in the ledger.
Source code in src/fovux/http/routes.py
list_runs()
async
List all training runs.
Source code in src/fovux/http/routes.py
prometheus_metrics(request)
async
Expose a small Prometheus-compatible metrics snapshot when enabled.
Source code in src/fovux/http/routes.py
proxy_tool(request, name, payload=_EMPTY_PAYLOAD)
async
Invoke a local Fovux tool through the HTTP transport.
Tools that require confirmation must include a valid challenge_id obtained from POST /tools/{name}/challenge.
Source code in src/fovux/http/routes.py
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 | |
request_challenge(request, name, payload=_EMPTY_PAYLOAD)
async
Request a confirmation challenge for a risky tool call.
Returns a challenge_id that must be included when calling the tool via POST /tools/{name}. Read-only tools do not require challenges.
Source code in src/fovux/http/routes.py
search_runs(body)
async
Search runs by text, tags, status, and minimum mAP50.
Source code in src/fovux/http/routes.py
sse_events_route(request)
async
Server-Sent Events (SSE) stream of all operations events with resume support.
Source code in src/fovux/http/routes.py
stream_run_metrics(run_id, request)
async
Stream normalized metric rows for a run over server-sent events.
stream_run_metrics_compat(run_id, request)
async
Compatibility alias for the canonical run metric stream.
Schemas
Pydantic schemas for dataset tools.
AutoFixItem
ClassStat
DatasetAugmentInput
Bases: BaseModel
Input for dataset_augment.
Source code in src/fovux/schemas/dataset.py
DatasetAugmentOutput
Bases: BaseModel
Output from dataset_augment.
Source code in src/fovux/schemas/dataset.py
DatasetConvertInput
Bases: BaseModel
Input for dataset_convert tool.
Source code in src/fovux/schemas/dataset.py
DatasetConvertOutput
Bases: BaseModel
Output from dataset_convert tool.
Source code in src/fovux/schemas/dataset.py
DatasetFindDuplicatesInput
Bases: BaseModel
Input for dataset_find_duplicates tool.
Source code in src/fovux/schemas/dataset.py
DatasetFindDuplicatesOutput
Bases: BaseModel
Output from dataset_find_duplicates tool.
Source code in src/fovux/schemas/dataset.py
DatasetInspectInput
Bases: BaseModel
Input for dataset_inspect tool.
Source code in src/fovux/schemas/dataset.py
DatasetInspectOutput
Bases: BaseModel
Output from dataset_inspect tool.
Source code in src/fovux/schemas/dataset.py
DatasetSplitInput
Bases: BaseModel
Input for dataset_split tool.
Source code in src/fovux/schemas/dataset.py
DatasetSplitOutput
Bases: BaseModel
Output from dataset_split tool.
Source code in src/fovux/schemas/dataset.py
DatasetValidateInput
Bases: BaseModel
Input for dataset_validate tool.
Source code in src/fovux/schemas/dataset.py
DatasetValidateOutput
Bases: BaseModel
Output from dataset_validate tool.
Source code in src/fovux/schemas/dataset.py
DuplicateGroup
Histogram
LabelAnomalySummary
LeakageIssue
SizeHistogram
ValidationIssue
Pydantic schemas for training tools.
TrainPreflightInput
Bases: BaseModel
Input for train_preflight tool (shares validation with TrainStartInput).
Source code in src/fovux/schemas/training.py
merge_extra_args(data)
classmethod
Merge extra_args field values into options.
Source code in src/fovux/schemas/training.py
validate_device(v)
classmethod
validate_device_policy()
Validate device policy via TrainStartInput rules.
Source code in src/fovux/schemas/training.py
TrainPreflightOutput
Bases: BaseModel
Output for train_preflight tool.
Source code in src/fovux/schemas/training.py
TrainResumeInput
TrainResumeOutput
TrainStartInput
Bases: BaseModel
Input for train_start tool.
Source code in src/fovux/schemas/training.py
merge_extra_args(data)
classmethod
Merge extra_args field values into options.
Source code in src/fovux/schemas/training.py
validate_device(v)
classmethod
Validate device is cpu, cuda, or specific GPU index.
Source code in src/fovux/schemas/training.py
validate_device_policy()
Check compatibility between device and device_policy.
Source code in src/fovux/schemas/training.py
validate_model(v)
classmethod
Validate model source file extension format.
Source code in src/fovux/schemas/training.py
TrainStartOutput
TrainStatusInput
TrainStatusOutput
Bases: BaseModel
Output from train_status tool.
Source code in src/fovux/schemas/training.py
TrainStopInput
TrainStopOutput
TrainingOptions
Bases: BaseModel
Supported training options for YOLO.
Source code in src/fovux/schemas/training.py
Pydantic schemas for evaluation tools.
CheckpointComparison
Bases: BaseModel
Comparison row for one checkpoint.
Source code in src/fovux/schemas/eval.py
ConfusionEntry
ErrorSample
EvalCompareInput
Bases: BaseModel
Input for eval_compare tool.
Source code in src/fovux/schemas/eval.py
EvalCompareOutput
EvalErrorAnalysisInput
Bases: BaseModel
Input for eval_error_analysis tool.
Source code in src/fovux/schemas/eval.py
EvalErrorAnalysisOutput
Bases: BaseModel
Output from eval_error_analysis tool.
Source code in src/fovux/schemas/eval.py
EvalPerClassInput
Bases: BaseModel
Input for eval_per_class tool.
Source code in src/fovux/schemas/eval.py
EvalPerClassOutput
EvalRunInput
Bases: BaseModel
Input for eval_run tool.
Source code in src/fovux/schemas/eval.py
EvalRunOutput
Bases: BaseModel
Output from eval_run tool.
Source code in src/fovux/schemas/eval.py
PerClassStat
Bases: BaseModel
Per-class evaluation statistics.
Source code in src/fovux/schemas/eval.py
Pydantic schemas for export and quantization tools.
ExportOnnxInput
Bases: BaseModel
Input for export_onnx tool.
Source code in src/fovux/schemas/export.py
ExportOnnxOutput
Bases: BaseModel
Output from export_onnx tool.
Source code in src/fovux/schemas/export.py
ExportTfliteInput
Bases: BaseModel
Input for export_tflite tool.
Source code in src/fovux/schemas/export.py
ExportTfliteOutput
Bases: BaseModel
Output from export_tflite tool.
Source code in src/fovux/schemas/export.py
QuantizeInt8Input
QuantizeInt8Output
Bases: BaseModel
Output from quantize_int8 tool.
Source code in src/fovux/schemas/export.py
QuantizeReportInput
Bases: BaseModel
Input for quantize_report tool.
Source code in src/fovux/schemas/export.py
QuantizeReportOutput
Bases: BaseModel
Output from quantize_report tool.
Source code in src/fovux/schemas/export.py
Pydantic schemas for inference and latency benchmark tools.
ActiveLearningQueueItem
Bases: BaseModel
A single review queue entry.
Source code in src/fovux/schemas/inference.py
ActiveLearningQueueListInput
Bases: BaseModel
Input for active_learning_queue_list.
Source code in src/fovux/schemas/inference.py
ActiveLearningQueueListOutput
ActiveLearningQueueRankInput
Bases: BaseModel
Input for active_learning_queue_rank.
Source code in src/fovux/schemas/inference.py
ActiveLearningQueueRankOutput
Bases: BaseModel
Output for active_learning_queue_rank.
Source code in src/fovux/schemas/inference.py
ActiveLearningQueueSubmitInput
Bases: BaseModel
Input for active_learning_queue_submit.
Source code in src/fovux/schemas/inference.py
ActiveLearningQueueSubmitOutput
Bases: BaseModel
Output for active_learning_queue_submit.
Source code in src/fovux/schemas/inference.py
ActiveLearningSelectInput
Bases: BaseModel
Input for active_learning_select.
Source code in src/fovux/schemas/inference.py
ActiveLearningSelectOutput
Bases: BaseModel
Output from active_learning_select.
Source code in src/fovux/schemas/inference.py
BatchDetectionSummary
Bases: BaseModel
Per-image summary returned by infer_batch.
Source code in src/fovux/schemas/inference.py
BenchmarkLatencyInput
Bases: BaseModel
Input for benchmark_latency.
Source code in src/fovux/schemas/inference.py
BenchmarkLatencyOutput
Bases: BaseModel
Output for benchmark_latency.
Source code in src/fovux/schemas/inference.py
Detection
DistillModelInput
Bases: BaseModel
Input for distill_model.
Source code in src/fovux/schemas/inference.py
DistillModelOutput
InferBatchInput
Bases: BaseModel
Input for infer_batch.
Source code in src/fovux/schemas/inference.py
InferBatchOutput
Bases: BaseModel
Output for infer_batch.
Source code in src/fovux/schemas/inference.py
InferEnsembleInput
Bases: BaseModel
Input for infer_ensemble.
Source code in src/fovux/schemas/inference.py
InferEnsembleOutput
Bases: BaseModel
Output from infer_ensemble.
Source code in src/fovux/schemas/inference.py
InferImageInput
Bases: BaseModel
Input for infer_image.
Source code in src/fovux/schemas/inference.py
InferImageOutput
Bases: BaseModel
Output for infer_image.
Source code in src/fovux/schemas/inference.py
InferRtspInput
Bases: BaseModel
Input for infer_rtsp.
Source code in src/fovux/schemas/inference.py
InferRtspOutput
Bases: BaseModel
Output for infer_rtsp.
Source code in src/fovux/schemas/inference.py
ModelCompareVisualInput
Bases: BaseModel
Input for model_compare_visual.
Source code in src/fovux/schemas/inference.py
ModelCompareVisualOutput
Bases: BaseModel
Output from model_compare_visual.
Source code in src/fovux/schemas/inference.py
SyncToMlflowOutput
TrainAdjustInput
Pydantic schemas for model and run management tools.
DemoInitInput
DemoInitOutput
DeploymentAdviseInput
Bases: BaseModel
Input for deployment_advise.
Source code in src/fovux/schemas/management.py
DeploymentAdviseOutput
Bases: BaseModel
Output for deployment_advise.
Source code in src/fovux/schemas/management.py
ModelArtifact
Bases: BaseModel
Metadata for a tracked model artifact.
Source code in src/fovux/schemas/management.py
ModelListInput
ModelListOutput
RunArchiveInput
RunArchiveOutput
RunCompareInput
RunCompareOutput
Bases: BaseModel
Output for run_compare.
Source code in src/fovux/schemas/management.py
RunDeleteInput
RunDeleteOutput
Bases: BaseModel
Output for run_delete.
Source code in src/fovux/schemas/management.py
RunMetricSummary
Bases: BaseModel
Comparable run summary with experiment intelligence metrics.