Skip to content

Commit

Permalink
add speaker information to SSC
Browse files Browse the repository at this point in the history
  • Loading branch information
biphasic committed Jun 14, 2023
1 parent fb78b06 commit c36b017
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tonic/datasets/hsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def __init__(
def speaker(self):
return self._speaker[()]


class SSC(HSD):
"""`Spiking Speech Commands <https://zenkelab.org/resources/spiking-heidelberg-datasets-shd/>`_
::
Expand Down Expand Up @@ -166,3 +167,4 @@ def __init__(

file = h5py.File(os.path.join(self.location_on_system, self.data_filename), "r")
self.classes = file["extra/keys"][()]
self._speaker = file["extra/speaker"][()]

0 comments on commit c36b017

Please sign in to comment.