Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sam_audio/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def process_anchors(self, anchors: Optional[list[list[Anchor]]]):
anchor_ids = pad_sequence(
ids, batch_first=True, padding_value=anchor_dict["<pad>"]
)
self.anchor_ids = anchor_ids
self.anchor_alignment = anchor_alignment
self.anchor_ids = anchor_ids.to(self.audios.device)
self.anchor_alignment = anchor_alignment.to(self.audios.device)
self.anchors = anchors


Expand Down