Commit Graph

212 Commits (06430cd24d4f243b731b463cb16c7f38e9866971)

Author SHA1 Message Date
Wu Zhangjin b14c4b34b8 activate: use a right audio player for mac osx
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
2018-06-13 14:33:58 -05:00
Matthew D. Scholefield 031a72061e
Make pip installation more modular
Allows creating your own venv
2018-06-13 13:41:48 -05:00
Matthew D. Scholefield 8a03eef9ca Refine .gitignores 2018-06-12 13:58:41 -05:00
Matthew D. Scholefield e3e15f65e7 Don't output params warning when it doesn't make sense 2018-06-12 13:58:31 -05:00
Matthew D. Scholefield d6284832ce Add brew dependencies to fix mac install 2018-06-04 15:09:34 -05:00
Matthew D. Scholefield 009e9c1ef9 Add swig and libpulse-dev as dependencies
This fixes #8
2018-05-30 12:19:35 -05:00
Matthew D. Scholefield 989e29bb83 Support pb files in precise-test 2018-04-26 19:04:05 -05:00
Matthew D. Scholefield ef96763327 Make indentation consistent in bash scripts 2018-04-20 12:09:53 -05:00
Matthew D. Scholefield ffcf4a0e9d Support installing tensorflow on other Python versions when on a pi 2018-04-20 12:06:10 -05:00
Matthew D. Scholefield b74e80568b Fix bug with reading from non-pyaudio stream
pyaudio's stream.read is in samples whereas most other streams read in bytes
2018-04-19 13:50:50 -05:00
Matthew D. Scholefield 09767fa675 Ensure speechpy is updates 2018-04-18 23:48:22 -05:00
Matthew D. Scholefield 0cbb98fa78 Increase default weight of weighted_log_loss to 0.7
No point in using it by default if it isn't weighted. This makes it reduce false positives by default
2018-04-18 23:11:54 -05:00
Matthew D. Scholefield bc7c73a4a9 Add link long_description field pointing to the GitHub README 2018-04-18 23:10:54 -05:00
Matthew D. Scholefield 09c728fb33 Fix locking on PreciseRunner.stop()
This fix only applies to when stream is a ReadWriteStream
2018-04-18 22:24:54 -05:00
Matthew D. Scholefield a3274b8d33 Fix major bug in precise-train-incremental
Previously it wouldn't update its own buffer so the files it would save would be mostly silence
2018-04-18 17:52:09 -05:00
Matthew D. Scholefield 755af134f6 Use K.mean instead of K.sum in loss
This makes the loss actually reasonable rather than something like 132.3
2018-04-18 17:26:14 -05:00
Matthew D. Scholefield bee65e6c8b Upgrade requirements and update speechpy
This brings in significant speed improvements to mfcc calculations
2018-04-18 16:20:13 -05:00
Matthew D. Scholefield 476728b138 Add warning if loading from folder with many wavs without specifying tags file 2018-04-18 16:09:46 -05:00
Matthew D. Scholefield 45c72a80c2 Add rename folder and tags arguments
Everything is now referred to as tags rather than db since it's a set of tags not a database. It also switches the positional argument to refer to the regular structured data folder, with a separate tags-folder option to override where to load the file ids from the tags from
2018-04-18 15:59:02 -05:00
Matthew D. Scholefield 19bf49a4ae Rename precise-record to precise-listen
This just makes a lot more sense. It's not recording you; it's listening to you
2018-04-18 14:48:43 -05:00
Matthew D. Scholefield c1ae0a7bd2 Fix long cooldown threshold
Now, it is much shorter by default, gets reset every subsequent activation, and varies correctly with chunk size
2018-04-18 00:03:13 -05:00
Matthew D. Scholefield bb4cb4badd Fix double slash when loading from folder ending in slash 2018-04-17 20:04:02 -05:00
Matthew D. Scholefield cb00e03d2d Fix chunk size parameter in precise-record 2018-04-17 18:33:08 -05:00
Matthew D. Scholefield 9418990ff1 Don't train when activation subsides in incremental training
This allows batching up larger amounts of data before retraining
2018-04-16 17:31:53 -05:00
Matthew D. Scholefield 607db0437f Remove extra files
These files were accidentally committed
2018-04-16 16:27:06 -05:00
Matthew D. Scholefield bd7961d240 Change speechpy to local fork
This includes a performance improvement in mfcc calculation
2018-04-16 16:24:49 -05:00
Matthew D. Scholefield c94a0a17d5 Increment runner version to 0.2.0 2018-04-13 01:09:22 -05:00
Matthew D. Scholefield be338dbd89 Upgrade tensorflow to new 1.5.1 2018-04-13 01:08:00 -05:00
Matthew D. Scholefield 159e9866b4 Add pause and play to runner class
This allows keeping the process alive without feeding it new audio data
2018-04-13 01:04:20 -05:00
Matthew D. Scholefield fbdca29949 Fix database groups file when in subdirectory and formatting 2018-04-12 18:21:24 -05:00
Matthew D. Scholefield 69e8af5bb5 Add __version__ to runner 2018-03-29 10:25:07 -05:00
Matthew D. Scholefield fbdba9bfdd Update runner README and improve Python 2 support 2018-03-29 10:25:07 -05:00
Matthew D. Scholefield 1449aae3a8 Fix line length 2018-03-29 10:25:07 -05:00
Matthew D. Scholefield 0b80a25ea7 Fix ordering of stop statements to prevent exception 2018-03-29 10:25:07 -05:00
Matthew D. Scholefield ef067fe1a4
Add info about comparison to README 2018-03-21 20:54:29 -05:00
Steve Penrod 7c33d886d1 Add Communal models subsection
Link to Precise training website for tagging data for communal models
2018-03-21 16:34:53 -05:00
Matthew D. Scholefield befd296128 FIx vectorizing invalid files 2018-03-21 16:34:53 -05:00
Matthew D. Scholefield 39721720fe Export to a particular folder 2018-03-21 16:34:53 -05:00
Matthew D. Scholefield 1ee402fd54 Fix database files not loading properly 2018-03-21 16:34:53 -05:00
Matthew D. Scholefield dcad96fc4e Fix invalid chunk size in PreciseRunner and fix importing from db 2018-03-21 16:34:53 -05:00
Matthew D. Scholefield 0fe1bceede Change database to simple text file 2018-03-21 16:34:53 -05:00
Matthew D. Scholefield 09e8b91ad2 Add try except clauses to make more robust 2018-03-21 16:34:53 -05:00
Matthew D. Scholefield b5c38ee71a Clean up setup script
Now uses a configurable VENV location used for parent projects
2018-03-21 16:34:53 -05:00
Matthew D. Scholefield 2878e8f963 Refactor test statistics, change buffer_size to mean bytes, and
add pocketsphinx calculation to precise-eval
2018-03-21 16:34:53 -05:00
Matthew D. Scholefield 32a001511e Refactor test statistics, change buffer_size to mean bytes, and
add pocketsphinx calculation to precise-eval
2018-03-07 13:37:03 -06:00
Matthew D. Scholefield 98e0e7161c Output model being processed in precise-eval 2018-03-06 15:15:03 -06:00
Matthew D. Scholefield 09c3ad927b Change license to Apache 2.0 2018-02-28 20:49:34 -06:00
Matthew D. Scholefield 0169d44dd9 Update diagram 2018-02-26 23:14:24 -06:00
Matthew D. Scholefield ec91da1bbc Add README 2018-02-26 23:03:46 -06:00
Matthew D. Scholefield b254fe1358 Rename precise-stream to precise-engine
It makes way more sense
2018-02-26 21:19:30 -06:00