Skip to content

Use newer viame runners for training and inference as opposed to kwiver call#1574

Open
mattdawkins wants to merge 1 commit intomainfrom
dev/adapt-for-viame-exe
Open

Use newer viame runners for training and inference as opposed to kwiver call#1574
mattdawkins wants to merge 1 commit intomainfrom
dev/adapt-for-viame-exe

Conversation

@mattdawkins
Copy link
Copy Markdown
Member

@mattdawkins mattdawkins commented Jan 19, 2026

Summary

Use `viame runner` (a thin wrapper that pre-loads VIAME's environment) instead of bare `kwiver runner` for pipeline execution and ONNX export, matching the runner used by the rest of the desktop pipeline tooling.

Changes vs main

  • `server/dive_tasks/tasks.py`: pipeline runs (video and image-sequence paths) and `export_trained_pipeline` now invoke `viame runner -p ` instead of `kwiver runner `.
  • `client/platform/desktop/backend/native/viame.ts`, `linux.ts`, `windows.ts`: replace `kwiver runner` with `viame runner` and update `-p` syntax in the desktop equivalents.
  • `docs/Command-Line-Tools.md`: doc reference updated to match.

`viame runner` is identical to `kwiver runner` from a pipeline-execution standpoint but already sources the VIAME setup script and resolves binary paths against the VIAME install, which removes a class of "binary not found" / partially-loaded-environment failures we hit on Windows and on minimal Linux installs.

@mattdawkins mattdawkins force-pushed the dev/adapt-for-viame-exe branch from 922bf25 to 6a8f817 Compare April 29, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant