Skip to content

Feature: Debug Mode (Loader) #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 7, 2025
Merged

Feature: Debug Mode (Loader) #256

merged 6 commits into from
Jul 7, 2025

Conversation

kozlov721
Copy link
Collaborator

Purpose

Makes it easier to create and test models before the entire pipeline is defined.

Specification

  • Adds new argument debug_mode to lxt.Core that sets the model to a debug mode
    • Corresponding CLI flag (--debug) added to test and train commands
  • Added new dummy DebugLoader that is used instead of LuxonisLoaderTorch in case we fail to load the specified dataset (and debug_mode is set to True)
    • Yields empty images and labels. Compatible with all LDF label types, but can be extended so it can replace custom loaders as well

Dependencies & Potential Impact

None / not applicable

Deployment Plan

None / not applicable

Testing & Validation

None / not applicable

@kozlov721 kozlov721 requested a review from a team as a code owner July 5, 2025 05:23
@kozlov721 kozlov721 requested review from klemen1999, tersekmatija and conorsim and removed request for a team July 5, 2025 05:23
@github-actions github-actions bot added enhancement New feature or request fix Fixing a bug CLI Changes affecting the CLI labels Jul 5, 2025
@kozlov721 kozlov721 requested a review from ptoupas July 5, 2025 05:28
@kozlov721 kozlov721 merged commit b577b82 into main Jul 7, 2025
8 checks passed
@kozlov721 kozlov721 deleted the feature/debug-mode branch July 7, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Changes affecting the CLI enhancement New feature or request fix Fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants