vocalpy / vak

A neural network framework for researchers studying acoustic communication
https://vak.readthedocs.io
BSD 3-Clause "New" or "Revised" License
78 stars 16 forks source link

ENH: Add `dataset` sub-table to config file, remove other dataset/transform param keys #748

Closed NickleDave closed 6 months ago

NickleDave commented 6 months ago

Core idea: add a dataset sub-table to top-level tabels [vak.train], [vak.eval], etc., in the config file

It will look like this:

[vak.train.dataset]
name = "BuiltInDataset"  # optional. Should exactly match class name
path = "~/path/to/data/on/my/computer"  # required
splits_path = "~/path/to/splits/I/made"  # optional
params = { window_size = 2000 }  # "optional" but required for some DataPipes

This assumes we have already done #685 and #345 (which I have--in progress now)

It allows the following:

NickleDave commented 6 months ago

Fixed by #750