Skip to content

Conversation

@Tetra-quark
Copy link
Contributor

I noticed the imresize function had usages that referred to the kwarg interp but the actual definition of the function had a different name interpolationmethod.

I then noticed that the args were provided as strings but the underlying OpenCV method actually takes an enum.

I applied the necessary corrections although I have not tested the scripts myself. I was interested in visualizing the augmentations without actively training but I wrote my own script for that.

@AlexEMG AlexEMG requested review from jeylau and n-poulsen September 13, 2023 20:44
@MMathisLab
Copy link
Member

@Tetra-quark thanks! also if of use, check out the notebooks that go with our Primer, https://github.com/DeepLabCut/Primer-MotionCapture, as they plot the augmentations

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! Thanks for the help!

@MMathisLab MMathisLab merged commit bbd3bec into DeepLabCut:main Sep 14, 2023
@Tetra-quark Tetra-quark deleted the fix_imresize_interp_kwarg branch October 12, 2023 16:24
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