Closed rosalba3574 closed 1 year ago
Dear Rosalba, thank you for your interest in DeepOF!
Have you checked that your body part labels match those depicted in the documentation? Unfortunately DeepOF is quite rigid with these names (although there are ways to work around it, and we're preparing an update to this to add some extra flexibility in the next release).
If body part names indeed match, we'll help you debug from there :)
Best! Lucas
Hi Lucas, thank you for the suggestion, I realize that the problem was the upper cases in the body parts names, sorry for bringing up a stupid mistake. Now it worked but I have a doubt: why if now the body parts correspond it gave me this message:
Computing distances...
Computing angles...
Computing areas...
It seems you're using a custom labelling scheme which is missing key body parts. You can proceed, but no areas will be computed.
Done!
If no areas are computed can it be a problem for the supervised analysis? because I was trying the supervised annotation and the code works but I don´t get dyadic interactions when I can clearly see those in the video. Do you have any ideas why this can happen? does it matter if the mice in the videos have the same fur color?
Thank you very much, Rosalba
Hi, Rosalba! And glad to see you managed to solve it (there are no stupid mistakes, and if the documentation is not clear that's on our side, not yours!).
Regarding the warning: the labelling scheme should have an impact on some of the supervised traits (such as huddling). However, dyadic interactions should be computed. Would you mind posting the header (no need to share data, just the header) of the output you get? That should help us see what went wrong.
EDIT: it shouldn't matter that the animals have the same fur color, unless this has an impact in the tracking itself. If you see the dyadic interactions in the header, but no events are reported, it could be a bug but it could also be a problem with the DLC tracking. Are you using multi-animal DLC?
Best! Lucas
Thank you Lucas! Here is the header of the supervised annotation:
In [50]: supervised_annotation
Out[50]:
{'955-1': test_mouse_stimulus_mouse_nose2nose test_mouse_stimulus_mouse_sidebyside ... test_mouse_missing stimulus_mouse_missing
00:00:00 0.0 0.0 ... 0 0
00:00:00.033158331 0.0 0.0 ... 0 0
00:00:00.066316662 0.0 0.0 ... 0 0
00:00:00.099474993 0.0 0.0 ... 0 0
00:00:00.132633324 0.0 0.0 ... 0 0
... ... ... ... ... ...
00:01:59.834208344 0.0 0.0 ... 0 0
00:01:59.867366675 0.0 0.0 ... 0 0
00:01:59.900525006 0.0 0.0 ... 0 0
00:01:59.933683337 0.0 0.0 ... 0 0
00:01:59.966841668 0.0 0.0 ... 0 0
[3619 rows x 21 columns]}
I used multi-animal DLC for 2 black6 mice and the tracking looks nice to me, I could also share one example if needed... Best, Rosalba
I figure it out why was not working: I add the videoscale
when making the project, I didn´t know it was essential, but now it works!!
Thanks so much for developing DeepOF, I will keep working on that!
Best,
Rosalba
Amazing! Glad it helped! I'll close the issue then, but feel free to open a new one if needed :)
Hi, thank you for developing DeepOF, I am trying to use it for multianimal tracking. I have DeepLabCut tracked files, that follow your labeling scheme "deepof_8", but I run into an error when I try to create a project:
I understand that the code sees the cell with "test_mouse" and the cell with "left_ear" as a single one, but they are separated, do you have any idea why this can happen? Thank you very much in advance, Rosalba