def setup()

in basic_pitch/data/datasets/slakh.py [0:0]


    def setup(self) -> None:
        import apache_beam as beam
        import mirdata

        self.slakh_remote = mirdata.initialize("slakh", data_home=self.source)
        self.filesystem = beam.io.filesystems.FileSystems()  # TODO: replace with fsspec
        if self.download:
            self.slakh_remote.download()