Closed ehsainit closed 3 years ago
Hey All,
I think the get_top_values function needs to be defined in the pose.py file or imported from different file, otherwise the multi_pose_predict function won't work: https://github.com/DeepLabCut/DeepLabCut-live/blob/51ad7f4cd574d9086e095bc63de947b2c6a3c1cc/dlclive/pose.py#L83
get_top_values
pose.py
multi_pose_predict
P.s: I saw that the get_top_values function was actually defined in the main DLC, you probably forgot to copy it to this file while adapting the code :)
https://github.com/DeepLabCut/DeepLabCut/blob/e5c3384897b39e3e33ca440ffef9a7830bb02a70/deeplabcut/pose_estimation_tensorflow/nnet/predict.py#L144
Cheers,
Feel free to submit a PR!
Hey All,
I think the
get_top_values
function needs to be defined in thepose.py
file or imported from different file, otherwise themulti_pose_predict
function won't work: https://github.com/DeepLabCut/DeepLabCut-live/blob/51ad7f4cd574d9086e095bc63de947b2c6a3c1cc/dlclive/pose.py#L83P.s: I saw that the
get_top_values
function was actually defined in the main DLC, you probably forgot to copy it to this file while adapting the code :)https://github.com/DeepLabCut/DeepLabCut/blob/e5c3384897b39e3e33ca440ffef9a7830bb02a70/deeplabcut/pose_estimation_tensorflow/nnet/predict.py#L144
Cheers,