sollan / alma

Fully automated (rodent) limb motion analysis toolbox for behavioral analysis with bodypart coordinate data, building upon markerless pose estimation.
GNU General Public License v3.0
13 stars 5 forks source link

Program taking too long #37

Closed likpole closed 3 months ago

likpole commented 8 months ago

I am currently attempting to analyze a few spontaneous mouse walking videos and have attached one of the DeepLabCut outputs. I have set the settings as shown below in the Python 3.10 environment. However, the ALMA program has been running for 2 days and I have yet to get any outputs. I was hoping you could help me and maybe give me a solution to run the program faster. Please let me know if you need anything else to help me!

image image

sollan commented 7 months ago

Hi! It looks like your file contains a lot of datapoints with low likelihood (meaning that the DLC prediction is of low quality). Please look at the DLC output (labelled videos would be easiest way to visualize the model quality) and check if you need to retrain the model.

If the model is fine but the recording contains too many periods that you don't need (for example, when the animal is out of the frame / acting abnormally), it's better to pause / resume during recording to get only meaningful data. Otherwise, you could crop the video after recording to durations with meaningful data.

I also noticed you are using the fully automated mode with the default 1 px / frame treadmill speed setting, which should be provided by you and is critical for the analysis. Please check the config.yaml file and make sure you've updated the parameters according to your experiment conditions.