sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
273 stars 137 forks source link

SIMBA VIDEO PARAMETERS FILE ERROR #297

Open Chantal-Wi opened 8 months ago

Chantal-Wi commented 8 months ago

Hi!

I am trying to to the ROI analysis with simBA (1.74.3). I refined all the ROIs and moved to the step "analyze RO data: aggregates". Here I selected # of animals (1) and the body part (nose). I left the probability threshold at 0.00 and ticked the box for calculate distance moved within ROI. When I clicked run I get the following error message in the simba terminal:

Analysing ROI data for video 16-02-231_1_20230216_3CT_hungry_leftshort... SIMBA VIDEO PARAMETERS FILE ERROR: SimBA could not find 16-02-231_1_20230216_3CT_hungry_leftshort in the video_info.csv file. Make sure all videos analyzed are represented in the project_folder/logs/video_info.csv file. 🚨

When I check the project_folder/logs/video_info.csv file the video 16-02-231_1_20230216_3CT_hungry_leftshort is in there.

What can I do to avoid this error message? Thanks for your help!

image image

sronilsson commented 8 months ago

Hi @Chantal-Wi - thanks for the screengrabs, very helpful.

Looking at your video_info.csv file, you have 8 files with filenames all ending with the suffix xxxxx_filtered_labeled.

I think these videos that you have imported into SimBA are not the original videos recorded by you, but are video files created by the deeplabcut visualization tools. Rather than the video created by deeplabcut, you should import the original videos you recorded and analyzed in deeplabcut. I.e., you short import video 16-02-231_1_20230216_3CT_hungry_leftshort.mp4, not 16-02-231_1_20230216_3CT_hungry_leftshort_xxxxx_filtered_labeled.mp4 to your SimBA project. Let me know if that makes sense!