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

ValueError: Image must be 2 dimensional to save as svg #29

Closed netta-hub closed 2 years ago

netta-hub commented 2 years ago

hi :)

after tagging manually the frames through Napari, when I'm trying to save all the layers it shows an error: ValueError: Image must be 2 dimensional to save as svg

thanks in advance for the help!

Screenshot 2022-07-10 160133

jeylau commented 2 years ago

Hi @netta-hub! Do not save all layers, but only the Points layer.

netta-hub commented 2 years ago

thanks! but now when I try to save it writes this (in the picture) image

jeylau commented 2 years ago

You should only have 2 layers: the images + a Points layer that is automatically created either when dropping a h5 file or a config.yaml onto the canvas. It looks like you've manually added a Points layer yourself and added keypoints to it, which won't work well as this extra layer is not connected to the dropdown menus. Perhaps our Usage section may help you https://github.com/DeepLabCut/napari-deeplabcut#usage, let me know otherwise 😃