We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a336d5 commit 720de8cCopy full SHA for 720de8c
src/jabs/feature_extraction/features.py
@@ -115,13 +115,10 @@ def __init__(
115
self._cache_window = cache_window
116
self._compute_social_features = pose_est.format_major_version >= 3
117
118
- if (
+ self._compute_segmentation_features = (
119
pose_est.format_major_version >= 6
120
and cast(PoseEstimationV6, pose_est).has_segmentation
121
- ):
122
- self._compute_segmentation_features = True
123
- else:
124
- self._compute_segmentation_features = False
+ )
125
126
distance_scale = (
127
self._distance_scale_factor if self._distance_scale_factor is not None else 1.0
0 commit comments