Conversation
ce211ab to
a74c21a
Compare
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add FMPose3D integration for monocular 3D pose estimation
Add functionality for using https://github.com/AdaptiveMotorControlLab/FMPose3D to lift 2D predictions to 3D keypoints. (see paper)
Summary
get_fmpose3d_inference_api()that creates a ready-to-use inference object with automatic weight downloading from HuggingFace HubDetails
Core integration (
fmpose3d.py): A thin wrapper that constructs anFMPose3DConfigand returns anFMPose3DInferenceobject. Supports bothfmpose3d_humansandfmpose3d_animalsmodel types, optional custom snapshot paths, device selection, and extra config kwargs.Tests (
test_fmpose_integration.py):test_api_init— parametrized over both model types; verifies the API object has the expected interface (prepare_2d,pose_3d,predict). Runs on CPU with no network required.test_prepare_2d_and_pose_3d/test_predict_end_to_end— full integration tests that download weights and run inference on the included example image. Skipped automatically when no network is available.Recipe notebook (
fmpose3d.ipynb): Covers three workflows:predictcall)analyze_imagesoranalyze_videos) to 3D