Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 0.3 alpha #88

Merged
merged 212 commits into from
Feb 9, 2020
Merged

version 0.3 alpha #88

merged 212 commits into from
Feb 9, 2020

Commits on Dec 17, 2019

  1. Configuration menu
    Copy the full SHA
    dd8605d View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. update setup.py for this feature branch

    - add the following to REQUIRED: pandas, torch, torchvision, dask
    - bump version of crowsetta in REQUIRED to >=2.1.0
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    57cfb47 View commit details
    Browse the repository at this point in the history
  2. add vak/dataset/classes/sequence.py

    with keras.utils.Sequence class for Vak datasets
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    c92c667 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c694abc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0411e12 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    536041b View commit details
    Browse the repository at this point in the history
  6. change 'spect' to 'dataframe' where required in tests

    after changing vak.dataset.spect to vak.dataset.dataframe
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    9bd63d1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    56d3935 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7d7abd1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d00f1d0 View commit details
    Browse the repository at this point in the history
  10. rewrite dataset.split.train_test_dur_split

    so it adds a 'split' column to a DataFrame, instead of splitting a
    Dataset into subsets and then returning each subset as a separate
    Dataset.
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    af9b2be View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9e68eab View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ae3a50d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9d56822 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    df24ea8 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    aadf4dd View commit details
    Browse the repository at this point in the history
  16. modify TrainConfig so csv_path is only path attribute

    - instead of having 'train_vds_path', 'val_vds_path', etc.
    - the 'split' column in the csv tells vak what splits there are
      and which samples belong to them
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    6334066 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b848063 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    236416e View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    1eed6e3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    f1cc299 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    26fcf8e View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    4d04599 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    d1f549f View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    96470e6 View commit details
    Browse the repository at this point in the history
  25. rename io.prep.prep to io.dataset.from_files

    to emphasize this is a higher-level function that makes a dataset
    from **either** audio or spectrogram files
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    54ded99 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    651e82f View commit details
    Browse the repository at this point in the history
  27. move dataset splitting functions to utils sub-package

    because they're not file input-output functions,
    so they don't belong in .io
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    2ac0bdc View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    26876fa View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    c2c8e68 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    6e0b88e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    c819a2c View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    23fe193 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    089a2af View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    97544fa View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    eb85b45 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    6541456 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    654e69a View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    b3b76d3 View commit details
    Browse the repository at this point in the history
  39. rename io.dataset again, to dataframe

    to avoid namespace clash with Dataset classes used when working with networks
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    8814c17 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    3867b93 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    654a7dd View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    0ecf277 View commit details
    Browse the repository at this point in the history
  43. add two utility functions to vak.io.dataframe

    - validate_and_get_timebin_dur -- checks there is a single unique
      value for the duration of time bins in all the spectograms in the
      dataset, using the 'timebin_dur' column from the dataframe.
      Returns that value.
    - split_dur -- get duration of a split in the dataset. Sums value of
      'duration' column for only the rows where 'split' column == split specified
      by user in call to function.
    - both functions make vak.cli.train more concise and can be used elsewhere
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    51c6c0b View commit details
    Browse the repository at this point in the history
  44. add classmethod to SpectScaler, clean up docstrings

    - class method 'fit_df' lets cli functions + user get a fit SpectScaler
      by passing it a pandas.DataFrame
    - avoid loading the whole dataset this way, just loop through spectrograms
    - cleaned up docstrings, match numpy spec
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    f663add View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    960fa72 View commit details
    Browse the repository at this point in the history
  46. add vak.core.train module

    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    47c76e2 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    597432a View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    4183790 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    1123f83 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    ceed0ba View commit details
    Browse the repository at this point in the history
  51. fix Makefile clean command

    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    1401cdf View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    858a92c View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    e480679 View commit details
    Browse the repository at this point in the history
  54. edit a comment in io.spect

    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    95a04fc View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    aa0eb54 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    4de3b20 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    82ea856 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    3cc9bc8 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    35e255a View commit details
    Browse the repository at this point in the history
  60. remove save-as-csv functionality from dataframe.from_files

    - because it's outside of scope of function
    - user or other functions can just call df.to_csv()
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    9697ce4 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    539073a View commit details
    Browse the repository at this point in the history
  62. rewrite vak/cli/prep to save its own csvs

    instead of using convoluted calls to dataframe.from_files; removed
    csv-saving capability from that function in previous commit
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    4e8e24f View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    9482121 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    f4d1402 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    c3905aa View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    0bfc0d9 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    d519741 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    4c89223 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    f506319 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    f9f239a View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    4cba6a0 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    ff36b79 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    06eeced View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    377c771 View commit details
    Browse the repository at this point in the history
  75. clean up Makefile

    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    bf738b3 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    c5c95ed View commit details
    Browse the repository at this point in the history
  77. change how spect.to_dataframe puts paths in dataframe

    - they are now all absolute paths
    - so dataframe "works" from anywhere
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    7d1c0af View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    5607bb7 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    2f086d1 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    8a2ee62 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    9505131 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    448ea91 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    18e2ab0 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    6964123 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    4bf0666 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    50a27da View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    d0e836f View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    fffa888 View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    b474287 View commit details
    Browse the repository at this point in the history
  90. add config/models.py

    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    3ce260c View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    947f930 View commit details
    Browse the repository at this point in the history
  92. add entry points to setup.py

    - models and model_config_parsers entry points
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    a8b0769 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    02a3bb7 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    1651129 View commit details
    Browse the repository at this point in the history
  95. modify config.train to work with vak.models module

    - import models module, use renamed functions from that module
    - change relevant variable names
    - TrainConfig now has 'models' attribute
    - fix docstring for attribute that was wrong anyway
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    88fb36f View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    4dc8404 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    53d9dbd View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    3603808 View commit details
    Browse the repository at this point in the history
  99. add attributes to TrainConfig, define in docstring

    - batch_size, optimizer, learning_rate, loss
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    3de58c4 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    64f289e View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    12fdb80 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    954adc8 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    1caced9 View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    46af652 View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    090a1f7 View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    33b3096 View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    7b4bb8a View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    e2c549d View commit details
    Browse the repository at this point in the history
  109. remove 'patience = None' from setup config.ini files

    because it defaults to None and it's dumb to specify a default,
    esp. if doing so would require converting from string 'None' to
    NoneType and confusing the attrs.converters.optional(int) that
    tries to convert 'None' to an int and then raises an error
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    1a5b2b1 View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    f201941 View commit details
    Browse the repository at this point in the history
  111. fix validators.are_sections_valid

    so that it doesn't say sections that have names of models are
    invalid
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    0f4fb08 View commit details
    Browse the repository at this point in the history
  112. add parameter 'config_path' to vak.config.predict.parse_predict_config

    so its signature matches that of other sections. This allows
    logic for unpacking sections can be written more concisely in
    vak.config.parse.parse_config
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    58e9081 View commit details
    Browse the repository at this point in the history
  113. rewrite vak.config.parse.parse_config as parse.from_path

    - change config_file argument to config_path
    - use Pathlib instead of os.path
    - remove networks attribute from Config class
      + loading model configs will happen within cli functions
      + because they know which section's list of model is appropriate for them to load
    - rewrite function logic to be more succint
      + possibly too clever by half but there was a lot of repeated code
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    2776aad View commit details
    Browse the repository at this point in the history
  114. change imports in vak/config/__init__.py

    - import entire parse module, so user writes config.parse.from_file
    - import Config class from .parse module, just so it's there
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    017de3e View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    4e7fe74 View commit details
    Browse the repository at this point in the history
  116. change argument name in three modules in config

    in learncurve, train, and prep, change 'config_file' to 'config_path',
    for consistency with other code and because it's clearer (to my mind at least).
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    9c3eb9e View commit details
    Browse the repository at this point in the history
  117. rewrite vak/config/spectrogram.py module

    - convert SpectConfig NamedTuple to an attrs class
    - rewrite parse_spect_config to simply convert the SPECTROGRAM
      section of the config into a dict and then let the attrs class
      do all the work of converting, validating, etc
    - add attributes 'spect_key', 'timebins_key', 'freqbins_key'
      + so that there are defaults that always exist at the level of
        the config if some function needs them, e.g. vak.cli.train
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    3daa920 View commit details
    Browse the repository at this point in the history
  118. change how config.parse.from_file handles SPECTROGRAM

    now it gets the default Spectrogram values even when the
    config.ini file pointed to by config_path does not contain a
    Spectrogram section
    
    this way the default spect_key/timebins_key/freqbins_key options are
    always there
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    7fb4a67 View commit details
    Browse the repository at this point in the history
  119. add dataloader module to config.py

    seems like least painful way to share parameters across train/predict etc
    for dataloader even though it is adding yet another section to the
    config.ini file. Will have a default so in theory some users might not
    have to think about it at first
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    ca4711b View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    69730c3 View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    f7bb9c3 View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    d4b3f9d View commit details
    Browse the repository at this point in the history
  123. Configuration menu
    Copy the full SHA
    79844df View commit details
    Browse the repository at this point in the history
  124. Configuration menu
    Copy the full SHA
    19a2309 View commit details
    Browse the repository at this point in the history
  125. rewrite vak/config/predict.py module

    - to use the same logic + structure as the rewritten train/prep modules
      + let attrs do as much as work as possible for converting/validating
    - stop checking for train/predict_vds paths
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    9464537 View commit details
    Browse the repository at this point in the history
  126. Configuration menu
    Copy the full SHA
    78cacff View commit details
    Browse the repository at this point in the history
  127. Configuration menu
    Copy the full SHA
    06d35b3 View commit details
    Browse the repository at this point in the history
  128. Configuration menu
    Copy the full SHA
    06d8070 View commit details
    Browse the repository at this point in the history
  129. Configuration menu
    Copy the full SHA
    2923b70 View commit details
    Browse the repository at this point in the history
  130. Configuration menu
    Copy the full SHA
    1ef0a9b View commit details
    Browse the repository at this point in the history
  131. change option in setup_scripts/prep_predict_config.ini

    to a directory that exists, so config.parse.from_file won't throw an error
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    7f6440d View commit details
    Browse the repository at this point in the history
  132. add sections argument to vak.config.parse.from_file

    that lets calling functions supply a list of section names that
    should be parsed from config.ini files
    
    makes it possible for vak.cli.prep to get just the prep section
    without parsing train/learncurve/predict sections just yet, and
    in doing so throwing a bunch of errors about paths that don't exist
    (yet but will after running train or setting up the config.ini file
    for predict -- would be annoying for user to get these errors
    all the time)
    
    this used to be hard-wired but the way the functions are written now
    seems more concise yet general (I'm telling myself?)
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    9b9438a View commit details
    Browse the repository at this point in the history
  133. change call to config.parse.from_path in vak/cli/prep.py

    to use 'sections' argument
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    506aa4f View commit details
    Browse the repository at this point in the history
  134. Configuration menu
    Copy the full SHA
    058dc77 View commit details
    Browse the repository at this point in the history
  135. Configuration menu
    Copy the full SHA
    48f7222 View commit details
    Browse the repository at this point in the history
  136. Configuration menu
    Copy the full SHA
    4123c6d View commit details
    Browse the repository at this point in the history
  137. Configuration menu
    Copy the full SHA
    c8cb54c View commit details
    Browse the repository at this point in the history
  138. change section name in setup_scripts/ .ini files

    from SPECTROGRAM to SPECT_PARAMS
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    d4762cf View commit details
    Browse the repository at this point in the history
  139. update vak/config/valid.ini

    - change SPECTROGRAM section to SPECT_PARAMS
    - and add new options to that section related to array files
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    3c450ac View commit details
    Browse the repository at this point in the history
  140. Configuration menu
    Copy the full SHA
    adc084a View commit details
    Browse the repository at this point in the history
  141. rewrite how io.audio.to_spect uses spect_params

    - remove separate arguments for spect_key, timebins_key, freqbins_key,
      and audio_path
    - instead use them from spect_params passed in
    - assume spect_params will be a SpectParamsConfig object, or that
      we can convert it into one (i.e. it's a dict with keyword arg-value
      pairs)
    - this blurs the lines around what Config classes are for --
      not just for parsing config.ini files
    - but it keeps this function from having three thousand arguments
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    b9b8c4d View commit details
    Browse the repository at this point in the history
  142. rewrite tests/setup_scripts/rerun_prep.py

    to use prep with single config_path argument
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    6b08c10 View commit details
    Browse the repository at this point in the history
  143. add dataset.py module to utils

    with 'has_unlabeled' function -- used to determine whether segments
    without labels are present in dataset, in which case a class label
    needs to be assigned for "unlabeled" time bins
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    0f33e4b View commit details
    Browse the repository at this point in the history
  144. modify PrepConfig attribute labelset

    add converter that automatically turns it into a set
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    b0473b5 View commit details
    Browse the repository at this point in the history
  145. Configuration menu
    Copy the full SHA
    b476f6d View commit details
    Browse the repository at this point in the history
  146. Configuration menu
    Copy the full SHA
    717f30e View commit details
    Browse the repository at this point in the history
  147. Configuration menu
    Copy the full SHA
    e2f7f11 View commit details
    Browse the repository at this point in the history
  148. Configuration menu
    Copy the full SHA
    ee50311 View commit details
    Browse the repository at this point in the history
  149. remove code for previous dataset abstraction

    - remove the bespoke classes in vak/io/dataset
      + MetaSpect, Vocalization, and VocalizationDataset
    - remove tests for those classes
    - remove imports for both from __init__.py files
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    8134ed6 View commit details
    Browse the repository at this point in the history
  150. rename dataset sub-package and its modules

    - dataset is now "datasets" to match convention switch
      torch + torchvision
    - dataloaders.py is now spectrogram_window_dataset.py
    - datasets/__init__.py imports SpectrogramWindowDataset from
      its module
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    2119884 View commit details
    Browse the repository at this point in the history
  151. fix tests in test_utils/test_split.py

    renaming Dataset to SpectrogramWindowDataset made me realize that
    some unit tests were checking for the wrong return type -- should
    now be a pandas Dataframe, not any of the vak-specific classes
    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    73844f7 View commit details
    Browse the repository at this point in the history
  152. Configuration menu
    Copy the full SHA
    e7bde19 View commit details
    Browse the repository at this point in the history
  153. move datasets/ up to vak/

    NickleDave committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    9ed6a14 View commit details
    Browse the repository at this point in the history
  154. Configuration menu
    Copy the full SHA
    1b4e304 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2020

  1. Configuration menu
    Copy the full SHA
    336a370 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21ac024 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5730c1d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    db0f8ce View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bf41c7d View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2020

  1. add engine sub-package with Model class

    - in a model module
    - and add a util module
      + that has function that Model uses to validate
        attributes of subclasses
        - idea is that all Models must declare netowork, optimizer,
          loss, and metrics
        - and use a common API with fit, evaluate, predict
      + subclasses can also use this function if they are also abstract
        classes meant for sub-classing
    NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    0d9124b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1204d53 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58a7419 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    283de76 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3aae4f3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1c48147 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5ac4ab3 View commit details
    Browse the repository at this point in the history
  8. change where cli.train adds results_dir to config

    move code chunk so adding the option
    'results_dir_made_by_main_script' happens before
    running training instead of after, so it will be
    there even if training gets stopped in the middle
    NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    c93c48b View commit details
    Browse the repository at this point in the history
  9. remove core sub-package

    may add back later but right now can't figure out
    if engine + cli even works with all the stupid broken
    tensorflow imports
    NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    d338e9c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    52fbb85 View commit details
    Browse the repository at this point in the history
  11. convert config/valid.ini to .toml

    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    f70c1e6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    95c7141 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    8892e78 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    20c0274 View commit details
    Browse the repository at this point in the history
  15. rewrite config/prep.py to use toml

    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    1366139 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6beb31c View commit details
    Browse the repository at this point in the history
  17. remove attributes from TrainConfig

    that will be attributes of any Model sub-class
    and so will be specified in that Model's section
    of a config.toml file
    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    06d4016 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a796801 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    bdea24a View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    1759261 View commit details
    Browse the repository at this point in the history
  21. rewrite tests/setup_scripts/rerun_prep.py

    to work with toml files
    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    626cdae View commit details
    Browse the repository at this point in the history
  22. refactor code into a util/audio module

    - removes code not directly related to validation from
    config/validators
    - moves files_from_dir from io.audio into a util module, so that
      just the main (and relatively lengthy) 'to_spect' function
      lives in io.audio
    - wraps evfuncs.load_cbin in a decorator that switches the returned
      argument order, so it's the same order as wavfile.read, i.e.
      sampling frequency is element 0 of the return tuple, and
      the actual data is element 1 of the return tuple
      + this was not a problem before with the 'built-in' evfuncs
        module that I tore out
    - config/validators now just uses AUDIO_FORMAT_FUNC_MAP from util.audio
    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    9ed96fa View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    418473b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    88e5c0e View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    5bc644b View commit details
    Browse the repository at this point in the history
  26. rewrite src/vak/models/util.py

    - remove constant + functions having to do with config parsers,
      users will not have to write their own config parsers
    - rewrite from_model_config_map to just use dicts, not expect
      any attrs-based config class it needs to cast to a dict, and
      not have to parse any section using some config_parser function.
      Just use the dict straight from toml as kwargs to the model's
      __init__ function
    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    f2de984 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    d4afdbc View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    2c9c303 View commit details
    Browse the repository at this point in the history
  29. remove core from cli/train.py

    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    71ee541 View commit details
    Browse the repository at this point in the history
  30. rewrite cli/train.py without core

    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    561fc77 View commit details
    Browse the repository at this point in the history
  31. rewrite cli/cli.py to use toml

    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    d297c99 View commit details
    Browse the repository at this point in the history
  32. fix bug in converters.comma_separated_list

    make comma_separated_list converter just return the input value
    if it is already a list, or convert to list if it is a str,
    else raise a TypeError
    
    instead of crashing by trying to convert a list to a list
    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    8287844 View commit details
    Browse the repository at this point in the history
  33. remove core from cli/predict.py

    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    bc91dc9 View commit details
    Browse the repository at this point in the history
  34. remove core from cli/learncurve

    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    907c8aa View commit details
    Browse the repository at this point in the history
  35. remove results_dirname attribute from TrainConfig

    because no other functions actually use this attribute.
    User can just look at the path they specified as "root_results_dir"
    to figure out where the results are.
    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    df914e1 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    464a08e View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    78d3f03 View commit details
    Browse the repository at this point in the history
  38. make map_from_config deal with undeclared params

    e.g. if there are no args passed to the loss function
    when instantiating it, just map the 'loss' key to
    an empty dictionary which will the get passed
    as the kwargs
    Embeddave authored and NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    295277a View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    35acda0 View commit details
    Browse the repository at this point in the history
  40. remove 'config' dependency in Makefile

    from 'results' command, because 'config' command
    doesn't exist anymore
    NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    2225649 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    2bc71f7 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    75a63dd View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    76a4625 View commit details
    Browse the repository at this point in the history
  44. add entry_points module to util sub-package

    with iter_ helper function, that was in vak/models/util.py
    NickleDave committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    9d18fd2 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    9d5ddaa View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    db74a6a View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    34b9c11 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    65d8700 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    8938b28 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    4fe9cde View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    2fb6641 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    6fe4285 View commit details
    Browse the repository at this point in the history