Deeplabcut: Issue with repeating refining labels

Created on 1 May 2020  Â·  5Comments  Â·  Source: DeepLabCut/DeepLabCut

Describe the bug
The first frame's label is not matched when repeating the refining labels.
It seems the same issue as #353 and #374

To Reproduce

  1. Run deeplabcut.refine_labels(path_config_file)
  2. In the GUI, load data, refine all frames, save, and click yes for repeating.
  3. In the second data, refine the labels in the first frame, and go to the next frame. Go back to the first frame, and the labels were messed up and not at the manually refined positions.

Expected behavior
The previous data's last frame labels are not cleared, still remained, and affect to the next data's 1st frame. This issue consecutively happens - second data's last frame affects the third data's first frame, etc - during keep clicking yes for the repeating refining. Maybe the GUI issue.

Screenshots
image

Desktop (please complete the following information about your system):

  • OS: Windows 10
  • DeepLabCut Version: 2.1.6.2
  • Browser: both in chrome & edge

Additional context
It did not happen when I refine data separately (close the GUI and re-run deeplabcut.refine_labels), not repeated in the same GUI.

bug

All 5 comments

Thanks for this detailed report! We will look into it ASAP

Hi @hosuk88 - I have made a PR (#671), if you'd like to checkout that branch and double check it fixed the behavior you describe, that would be great.

671 should fix this, thanks!

Thanks for your documentation, this was very useful for reproducing the error!

Thanks a lot! I'll try this ASAP.
Also, found something in the committed file. Should change this
remove_data() function as following "delete_data()"?
[image: image.png]

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sat, May 2, 2020 at 2:40 PM Alexander Mathis notifications@github.com
wrote:

Thanks for your documentation, this was very useful for reproducing the
error!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AlexEMG/DeepLabCut/issues/670#issuecomment-623016853,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3WDWG2VMEKXDFF3IFGNRLRPSHNPANCNFSM4MXBRAYQ
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ForgottenOneNyx picture ForgottenOneNyx  Â·  4Comments

monajalal picture monajalal  Â·  4Comments

HaixinLiuNeuro picture HaixinLiuNeuro  Â·  4Comments

tvajtay picture tvajtay  Â·  4Comments

vvolhejn picture vvolhejn  Â·  4Comments