bonsai-rx / deeplabcut

A Bonsai interface for real-time markerless pose estimation using DeepLabCut
MIT License
47 stars 9 forks source link

Link to model conversion is broken #1

Closed JensBlack closed 4 years ago

JensBlack commented 4 years ago

Hello! Great work on implementing DLC Realtimetracking with an easy to use platform like Bonsai! I wanted to try it out, but the link you provide in the readme is broken.

I checked AlexEMG's repos but it does not exist anymore (or is private). Can you provide the file or an alternative way to convert the models? Otherwise for any newcomers the bonsai implementation is unusable at the moment, right?

Thank you!

MMathisLab commented 4 years ago

Hi @JensBlack - we decided to build in the export functionality directly into DLC itself now, such that once you have a model that you want to use for bonsai-dlc you can simply run deeplabcut.exort_model( ..). One DLC developer has an active PR, I just requested one change in the code review stage, so that will be out soon (and then into the pip package so you will just need to upgrade DLC in your conda env and would be all set!).

In the meantime, you can follow along with this code update here (but should be merged later today):

https://github.com/AlexEMG/DeepLabCut/pull/649

AlexEMG commented 4 years ago

It's now available in the latest DLC 2.1.6.5, check out the docs etc. but in brief:

deeplabcut.export_model('/analysis/project/randomDLC-task/config.yaml')

glopesdev commented 4 years ago

Fixed and merged doc changes in #2