Skip to content

Commit

Permalink
Register limb masking buffer even if null
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-water committed Nov 15, 2024
1 parent cb6c76b commit d86902e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sdofm/models/mae3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ def __init__(

# --------------------------------------------------------------------------
# Limb masking
if ids_limb_mask is not None:
self.register_buffer("ids_limb_mask", ids_limb_mask)
self.register_buffer("ids_limb_mask", ids_limb_mask)

# MAE encoder specifics
self.patch_embed = PatchEmbed(
Expand Down

0 comments on commit d86902e

Please sign in to comment.