Skip to content

Conversation

@SowonKIMM
Copy link
Contributor

@SowonKIMM SowonKIMM commented Jul 24, 2024

This post would help to solve the issue about division by zero, in #2684 , already been closed.

I added two sentences to solve that problem.

if max_dist==0:
     max_dist=1

@AlexEMG
Copy link
Member

AlexEMG commented Jul 24, 2024

Welcome to DeepLabCut & thanks for contributing. Are you sure you want to change so many lines in the file?

@SowonKIMM
Copy link
Contributor Author

Hello, @AlexEMG .
Actually, I just wanted to add two sentences in line 118 to that specific file (deeplabcut/core/trackingutils.py).
If you need the edited version of trackingutils.py, I can upload it as soon as possible.

Copy link
Contributor

@n-poulsen n-poulsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me - I just fixed the file endings from CRLF to LF :)

@n-poulsen n-poulsen merged commit 6f2986d into DeepLabCut:pytorch_dlc Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants