Fix common runtime errors¶
This guide covers common errors seen when running the app.
Unable to resolve TimeSHAP local APIs¶
What to do:
- Open
Environment diagnosticsin the app. - Confirm Python executable and
timeshapimport status. - Run Streamlit with the same interpreter used for package install:
SHAP Kernel import errors¶
Symptom includes import failure under shap.explainers._kernel.
What to do:
Then fully restart Streamlit.
No windows could be created¶
What to do:
- lower
Sequence length, or - provide more timesteps per entity
Need more entities/windows to form train/validation split¶
What to do:
- upload data with more entities, and
- ensure multiple entities produce valid windows
Invalid scaler file¶
What to do:
- ensure
.npzincludes arrays namedmeanandstd - ensure both arrays have length equal to feature count
Checkpoint compatibility errors¶
What to do:
- confirm checkpoint and selected features use the same input dimension
- confirm loaded model returns expected output structure
- if using Lightning class path, verify module import path and class name