Skip to content

Commit

Permalink
Commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
vinamarora8 committed Nov 16, 2024
1 parent 7caf845 commit bc9affe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torch_brain/utils/stitcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ class MultiSessionDecodingStitchEvaluator(L.Callback):
- "output_mask": :class:`~torch.Tensor` of shape (B, N) and dtype bool
- "session_id": A list of session IDs for each sample in the batch
- "absolute_start": :class:`~torch.Tensor` of shape (B) and dtype float
Please refer to the examples/poyo/train.py script for an example of how to write
a validation_step(...) function that outputs the required tensors.
This callback operates by maintaining a cache of the predictions, targets, and
timestamps for each session. This cache is updated at the end of each batch.
Expand Down

0 comments on commit bc9affe

Please sign in to comment.