Troubleshooting
Motion troubleshooting
Common problems in Motion projects and how to fix them.
Try it in Studio On this page
Uploading and recording
| Problem | Likely cause | Fix |
|---|
| A CSV file is rejected | A row has a different number of columns, or a cell is not a number | Make every row the same length and keep only numbers below the header |
| "More than one column for the same axis" | The file has two spellings of one axis, e.g. ax and accX | Keep only one of the two columns |
| The frequency looks wrong (100 Hz) | The CSV has no timestamp column, so Studio assumed 100 Hz | Add a first column named timestamp in milliseconds |
| Labels are wrong after upload | Infer from filename used the text before the first . | Rename files like wave.01.csv, or use Enter label |
| Connect Device is greyed out | Your browser has no Web Serial support | Use Chrome or Edge |
| The UNO Q connects but its details are unknown | The board is running a different sketch | Flash the PetalEdge identity firmware and connect again |
| Collect from device says no devices are online | The Linux device is off or not connected to PetalEdge | Check Devices and Live status on Connect Device |
Features
| Problem | Likely cause | Fix |
|---|
| Generate features is disabled | No recordings in the training set yet | Add training data, or move some recordings to Training |
| Recordings are missing from the windows | They are shorter than Window (ms) and Skip short recordings is selected | Choose Zero-pad short recordings, or record longer takes |
| Labels overlap in the feature explorer | The chosen block doesn't separate your movements | Try another processing block, or make the movements more distinct |
Training
| Problem | Likely cause | Fix |
|---|
| The training page asks you to generate features | Features are missing or out of date | Select Go to Generate features, then Generate features |
| Regression training refuses to start | A label used by your recordings is not a number | Rename labels to numbers, e.g. 0.5 |
| A GPU job is not started | Your PetalEdge server has no GPU training | Choose CPU under Processor |
| Training fails with a large batch | Batch size is too high for the data | Lower Batch size under Advanced Settings |
| Validation accuracy much lower than training accuracy | Overfitting | Add recordings, use fewer Training cycles, or a smaller network |
Results
| Problem | Likely cause | Fix |
|---|
| Two labels are often confused | The movements look alike to the sensor | Record clearer examples, or use a longer window |
| Good scores, but live results are poor | Training data doesn't match real use (other person, position or speed) | Record data in the same way the device will be used |
| One label wins almost every time | That label has many more recordings | Balance the number of recordings per label |
| INT8 scores much lower than Float32 | Quantization hurt this model | Deploy Unoptimized (float32) |
Still stuck?
Go back through the Motion workflow step by step, and check the Knowledge pages for the ideas behind each step.