Fix ZeroDivisionError during calibration - #1819
Conversation
|
Sorry to bother you again.Just to make sure. I saw 9 failed checks on this page. Does it mean the bug [1818] has not been totally fixed?Many thanks. |
|
Thank you. Also, thanks for the help from MMathisLab.
Do I need to totally remove DeepLabCut and then reinstall it? |
Hey, Jeylau @jeylau !Another question, after reinstalling the DCL with pip install git+https://github.com/DeepLabCut/DeepLabCut.git@fix_1818, can I still use DLC with GUI? In other words, do I have to use DLC without GUI in order to get the ZeroDivisionError bug fixed? |
|
Hey @BinZJU, the version you installed is DLC 2.2.1 + the small extra fix. So you can use it normally, either with or without GUI 😊 |
|
Thanks! DLC really helps! And it finally works. Just to let you know, I created a new conda env with Python=3.7 to install the DLC2.2.1+1818 fix, then everything goes well. I don't know what's wrong with the previous env. The only difference is that it is based on python 3.8. |

We now properly catch assemblies that are either empty or contain NaN coordinates.
I improved the unit test too.
Fixes #1818