FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Make 3D Triangulate possible with pytorch_dlc branch and MA project by Zelin2001 · Pull Request #2729 · DeepLabCut/DeepLabCut · GitHub

Make 3D Triangulate possible with pytorch_dlc branch and MA project - #2729

Merged
MMathisLab merged 3 commits into
DeepLabCut:pytorch_dlcfrom
Saintgene-Xu-lab:pytorch_triangulate
Sep 9, 2024
Merged

Make 3D Triangulate possible with pytorch_dlc branch and MA project#2729
MMathisLab merged 3 commits into
DeepLabCut:pytorch_dlcfrom
Saintgene-Xu-lab:pytorch_triangulate

Conversation

Copy link
Copy Markdown
Contributor

Rationality

I proceeded with my project, and then found the triangulate() function dependent on TensorFlow modules. Further debugging revealed more problems relating to the 'single' individual, who has a different bodypart dimension from common individuals.

Finally, I made minor changes to make triangulation work on my dataset. These changes might also help with other 3D MA users.

Changes

  • Compute triangulated data with pose_estimation_pytorch

  • Make correct MultiIndex with unique bodyparts

  • adapt to DataFrame.to_hdf() changes

* Compute triangulated data with pose_estimation_pytorch
* Make correct MultiIndex with unique bodyparts
* adapt to DataFrame.to_hdf() changes
MMathisLab requested a review from AlexEMG September 5, 2024 15:47

Copy link
Copy Markdown
Member

thanks so much for your contribution! This is super helpful!

MMathisLab requested a review from n-poulsen September 5, 2024 15:48
MMathisLab added 3D questions/code issues regarding 3D DLC DLC3.0🔥 labels Sep 5, 2024

n-poulsen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks @Zelin2001, this looks great! Just suggested a few changes, let me know if you want to discuss anything.

One the changes are made this looks good to me :)

Copy link
Copy Markdown
Contributor Author

Thanks @Zelin2001, this looks great! Just suggested a few changes, let me know if you want to discuss anything.

One the changes are made this looks good to me :)

Thank you a lot for the advice @n-poulsen . I've learned more about deeplabcut from these changes.

Zelin2001 requested a review from n-poulsen September 7, 2024 07:40

n-poulsen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good to me! Thanks @Zelin2001!

MMathisLab merged commit 55de11b into DeepLabCut:pytorch_dlc Sep 9, 2024
Zelin2001 deleted the pytorch_triangulate branch September 10, 2024 04:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3D questions/code issues regarding 3D DLC DLC3.0🔥

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL