Skip to content

Commit

Permalink
fix(lint): lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitMY committed Jun 12, 2024
1 parent 75d1738 commit ad48a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pose_anonymization/appearance.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from pose_format import Pose
from pose_format.numpy import NumPyPoseBody
from pose_format.utils.generic import pose_normalization_info
from sign_vq.data.normalize import load_pose_header


def normalize_pose_size(pose: Pose):
Expand Down Expand Up @@ -60,7 +59,7 @@ def change_appearace(pose: Pose, appearance: np.ndarray):
@lru_cache(maxsize=1)
def get_mean_appearance():
# pylint: disable=import-outside-toplevel
from sign_vq.data.normalize import load_mean_and_std
from sign_vq.data.normalize import load_mean_and_std, load_pose_header
mean, _ = load_mean_and_std()

data = mean.reshape((1, 1, -1, 3)) * 1000
Expand Down
1 change: 1 addition & 0 deletions pose_anonymization/evaluate_example_stitching.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from pose_format import Pose
from pose_format.numpy.representation.distance import DistanceRepresentation
from pose_format.utils.optical_flow import OpticalFlowCalculator
# pylint: disable=import-error
from spoken_to_signed.gloss_to_pose.concatenate import concatenate_poses

plt.rcParams["font.family"] = "Times New Roman"
Expand Down

0 comments on commit ad48a42

Please sign in to comment.