Skip to content

Commit

Permalink
Register module for fast instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaseris committed Jan 31, 2024
1 parent 91f5dd3 commit 2e69aa1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/skelcast/losses/euler_angle_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
import torch.nn as nn

from skelcast.data.human36m.quaternion import qeuler
from skelcast.losses import LOSSES


@LOSSES.register_module()
class EulerAngleLoss(nn.Module):
def __init__(self, order="xyz", reduction="mean"):
super(EulerAngleLoss, self).__init__()
Expand Down

0 comments on commit 2e69aa1

Please sign in to comment.