Sleap to Deeplabcut conversion method #2977
Sleap to Deeplabcut conversion method #2977agosztolai wants to merge 4 commits intoDeepLabCut:agosztolai/sleap_data_converterfrom
Conversation
|
Hey @agosztolai I refactored a bit your method, hope it's okay for you 😀. I am testing it now with a simple Sleap project I created, but it doesn't work for now on my side: it basically never enters inside this condition, and, having manually checked, I don't see anything like this in my Sleap file. My Sleap file contains the following keys: Is there an issue with your code or did I do something wrong when creating my Sleap project? I am new to Sleap so maybe the mistake is on my side. |
|
Hello @maximpavliv , I can confirm that the code works on SLEAP v1.4.1a2, but it needs the .pkg.slp file from 'Predict - Export Labels Package... - Labelled frames' instead of the .slp project file. By the way, I have a couple of suggestions:
|
|
A further issue: during the 'Analyze Videos' step in DLC, the project froze due to the generated config.yaml missing the |

This PR implements a method to convert a Sleap project to DeepLabCut project, as suggested in #2734.