DeepLabCut / napari-deeplabcut

a napari plugin for labeling and refining keypoint data within DeepLabCut projects
GNU Lesser General Public License v3.0
52 stars 22 forks source link

How to add additional body part labels? #77

Closed nitinseshadri closed 1 year ago

nitinseshadri commented 1 year ago

Hi,

I have a few videos that I've already labeled in the napari GUI. Now, I want to add an additional body part label to the videos. I edited config.yaml with the new body part; however, when I go to add it to the videos, it doesn't show up in napari's list of labels. Is there anything I need to do to make the new labels show up in napari?

EDIT: I am using the latest commit on DeepLabCut's github repository as of June 14. Tried on both macOS 13 Ventura and Windows 10 22H2.

Thanks!

jeylau commented 1 year ago

Hi @nitinseshadri, to let napari know of your new body part, load your annotated data and images in napari as usual and, afterwards, drop the config.yaml onto the canvas: this will refresh all dropdown menus. I'd also encourage you to get the most recent napari-deeplabcut code with pip install git+https://github.com/DeepLabCut/napari-deeplabcut.git, so you get the latest bug fixes 😊

nitinseshadri commented 1 year ago

Thanks for the tip! I'll try it out and let you know if it works.

nitinseshadri commented 1 year ago

It works! Thanks for your help.