Skip to content
PetalEdgeDocs

Troubleshooting

Motion troubleshooting

Common problems in Motion projects and how to fix them.

Try it in Studio
On this page

Uploading and recording

ProblemLikely causeFix
A CSV file is rejectedA row has a different number of columns, or a cell is not a numberMake 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 accXKeep only one of the two columns
The frequency looks wrong (100 Hz)The CSV has no timestamp column, so Studio assumed 100 HzAdd a first column named timestamp in milliseconds
Labels are wrong after uploadInfer from filename used the text before the first .Rename files like wave.01.csv, or use Enter label
Connect Device is greyed outYour browser has no Web Serial supportUse Chrome or Edge
The UNO Q connects but its details are unknownThe board is running a different sketchFlash the PetalEdge identity firmware and connect again
Collect from device says no devices are onlineThe Linux device is off or not connected to PetalEdgeCheck Devices and Live status on Connect Device

Features

ProblemLikely causeFix
Generate features is disabledNo recordings in the training set yetAdd training data, or move some recordings to Training
Recordings are missing from the windowsThey are shorter than Window (ms) and Skip short recordings is selectedChoose Zero-pad short recordings, or record longer takes
Labels overlap in the feature explorerThe chosen block doesn't separate your movementsTry another processing block, or make the movements more distinct

Training

ProblemLikely causeFix
The training page asks you to generate featuresFeatures are missing or out of dateSelect Go to Generate features, then Generate features
Regression training refuses to startA label used by your recordings is not a numberRename labels to numbers, e.g. 0.5
A GPU job is not startedYour PetalEdge server has no GPU trainingChoose CPU under Processor
Training fails with a large batchBatch size is too high for the dataLower Batch size under Advanced Settings
Validation accuracy much lower than training accuracyOverfittingAdd recordings, use fewer Training cycles, or a smaller network

Results

ProblemLikely causeFix
Two labels are often confusedThe movements look alike to the sensorRecord clearer examples, or use a longer window
Good scores, but live results are poorTraining 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 timeThat label has many more recordingsBalance the number of recordings per label
INT8 scores much lower than Float32Quantization hurt this modelDeploy Unoptimized (float32)

Still stuck?

Go back through the Motion workflow step by step, and check the Knowledge pages for the ideas behind each step.