-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
predict() support for pose estimation models (#1142)
* Adding predict * Predict * Predict * Adding predict * Adding predict * Adding joint information to dataset configs * Added makefile target recipe_accuracy_tests * Remove temp files * Rename variables for better clarity * Move predict() related files to super_gradients.training.utils.predict * Move predict() related files to super_gradients.training.utils.predict * Rename file poses.py -> pose_estimation.py * Rename joint_colors/joint_links -> edge_colors/edge_links * Disable showing bounding box by default * Allow passing edge & keypoints as None, in this case colors will be generated randomly * Update docstrings * Fix test * Added unit tests to verify settings preprocesisng params from dataset works * _pad_image cannot work with pad_value that is tuple (r,g,b). So we change the keypoint transforms defaults in config to use single scalar value * Fix pad_value in keypoints transforms to accept single scalar value to make compatible with _pad_image
- Loading branch information
Showing
28 changed files
with
1,212 additions
and
171 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/super_gradients/recipes/arch_params/pose_dekr_coco_rescoring_arch_params.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
num_classes: 17 | ||
hidden_channels: 256 | ||
num_layers: 2 | ||
joint_links: | ||
edge_links: | ||
- [ 0, 1 ] | ||
- [ 0, 2 ] | ||
- [ 1, 2 ] | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.