Add Eruda dev console to GAMBIT interface for debugging#19
Merged
christopherdebeer merged 2 commits intomasterfrom Dec 9, 2025
Merged
Conversation
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.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
christopherdebeer
added a commit
that referenced
this pull request
Dec 15, 2025
…nsole-01ACHWZkut6M3gM2ynrvFdTp Add Eruda dev console to GAMBIT interface for debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added Eruda mobile-friendly developer console to help debug the gesture
inference model loading issue. The console will provide access to:
This will help identify why the gesture inference model is showing
"MODEL ERROR" message.