vocalpy / hybrid-vocal-classifier

a Python machine learning library for animal vocalizations and bioacoustics
http://hybrid-vocal-classifier.readthedocs.io
BSD 3-Clause "New" or "Revised" License
23 stars 8 forks source link

`hvc.extract` not saving features file when called with arguments, not config file #113

Open NickleDave opened 3 years ago

NickleDave commented 3 years ago

high-level hvc.extract file does not save a features file when called with keyword arguments (as opposed to passing it a single config file)

noticed this when going through the tutorial https://github.com/NickleDave/hybrid-vocal-classifier-tutorial/blob/master/notebooks/02-feature-extraction.ipynb raised an issue there too https://github.com/NickleDave/hybrid-vocal-classifier-tutorial/issues/6 but I think it's the code itself, I could reproduce the bug just running in ipython directly from this repo

NickleDave commented 3 years ago

yes, definitely the case that nothing gets saved in the directory passed in as an argument for output_dir even though the tutorial says otherwise

if return_features is True though, a dict is returned with keys features and labels