Closed mano2991 closed 1 year ago
Hi! It’s because in your DLC model there is no bodypart named “toe”, so in the resulting csv file there is no “toe x” column that our app relies on. You could rename the corresponding columns in your csv result files, or update the bodypart definition in DLC (see Wiki for details of how the program works: https://github.com/sollan/alma/wiki/Gait-kinematics)
Note that for for gait analysis there are 6 required bodyparts:
In a treadmill set-up, the program assumes (at least) labels of one hind limb: iliac crest, hip, knee, ankle, MTP joint (mtp), and toe.
In a spontaneous walking set-up, the program assumes (at least) labels of left and right hind limbs: crestL / crestR, hipL / hipR, kneeL / kneeR, ankleL/ankleR, mtpL / mtpR, and toeL / toeR.
@sollan Thanks i will train my DLC data using 6 data points as you have mentioned in the example.
@sollan I have done my analysis as you have mentioned now an new error pops up
My input data from DLC
Hi! The error means no step cycles were detected. However, your videos weren't visible until now, and now I can see that you have a "ladder rung" experiment set-up instead of a treadmill / free walking set-up for gait analysis.
If you are trying to detect the foot falls, there's a different section in the app for that: https://github.com/sollan/alma/wiki/Ladder-rung-footfall-analysis. You can select "toe" as the bodypart to use.
Also, make sure you've edited all relevant parameters in your config.yaml file (https://github.com/sollan/alma/blob/master/config.yaml). Wrong configurations can also cause the analysis to malfunction / give false results.
I have enclosed my video. Yes, @sollan i have used lader rug. i though we can use lader for the GAIT analysis.
https://drive.google.com/file/d/1gOuv4hB0QUoobU8MoebJ_v1M6wp68eBl/view?usp=sharing
Well, if you want, you can try the "spontaneous walking" option under kinematics analysis (and check the config.yaml to make sure the configurations are correct), since the mouse is not walking on a treadmill but on a ladder. We didn't test if it works for a "ladder gait" set up, though. Just keep in mind that the results might not be meaningful, since the kinematics analysis was intended for when the animal is walking on even ground.
@sollan thanks for your sugesstion. i will use an threadmill for doing the analysis.
I have trained my mouse using DLC and extracted the data point for GAIT analysis.
while choosing the semi-automated methos im getting an error as shown below. I have also enclosed my video and the csv file provided by the DLC.
TestDLC_resnet50_GAITMar23shuffle1_100000.csv
https://user-images.githubusercontent.com/13638496/228850848-f8a28108-fe8d-4845-9872-ff7d6b516bc6.mp4