Skip to content

Add Eruda dev console to GAMBIT interface for debugging#19

Merged
christopherdebeer merged 2 commits intomasterfrom
claude/add-eruda-dev-console-01ACHWZkut6M3gM2ynrvFdTp
Dec 9, 2025
Merged

Add Eruda dev console to GAMBIT interface for debugging#19
christopherdebeer merged 2 commits intomasterfrom
claude/add-eruda-dev-console-01ACHWZkut6M3gM2ynrvFdTp

Conversation

@christopherdebeer
Copy link
Copy Markdown
Owner

Added Eruda mobile-friendly developer console to help debug the gesture
inference model loading issue. The console will provide access to:

  • Console logs and errors
  • Network requests inspection
  • Resource loading details
  • DOM inspection

This will help identify why the gesture inference model is showing
"MODEL ERROR" message.

Added Eruda mobile-friendly developer console to help debug the gesture
inference model loading issue. The console will provide access to:
- Console logs and errors
- Network requests inspection
- Resource loading details
- DOM inspection

This will help identify why the gesture inference model is showing
"MODEL ERROR" message.
Enhanced logging in both gesture-inference.js and index.html to provide
detailed diagnostics for model loading and inference operations.

gesture-inference.js changes:
- Log constructor initialization with full config
- Detailed TensorFlow.js availability check with version
- Resolve and log absolute model URL for debugging
- Separate logging for Keras vs graph model loading attempts
- Log model warmup process with tensor shapes
- Comprehensive error logging with type, message, and stack trace
- Log buffer filling progress (every 10 samples)
- Log first sample received for validation
- Track inference execution with periodic result logging
- Show top 3 predictions and confidence thresholds

index.html changes:
- Log initialization start with URL and timestamp
- Enhanced callbacks with detailed error information
- Track sample count and log first 3 samples
- Warn when data arrives before model is ready
- Show model error messages in UI status

This will help diagnose the current "MODEL ERROR" issue and any future
problems with model loading or inference execution.
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@christopherdebeer christopherdebeer merged commit 4e85665 into master Dec 9, 2025
@christopherdebeer christopherdebeer deleted the claude/add-eruda-dev-console-01ACHWZkut6M3gM2ynrvFdTp branch December 15, 2025 10:26
christopherdebeer added a commit that referenced this pull request Dec 15, 2025
…nsole-01ACHWZkut6M3gM2ynrvFdTp

Add Eruda dev console to GAMBIT interface for debugging
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.

2 participants