Commit Graph

57 Commits (master)

Author SHA1 Message Date
Matthew Scholefield c663719cce Increment version to 0.2.0 2018-06-20 16:49:50 -05:00
Wu Zhangjin 523eb719f1 listen: not-wake-up: increase the random value's range
the old range is too narrow and therefore make data override often happen.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
2018-06-20 16:49:50 -05:00
Wu Zhangjin 3add0c320e activate: add a running directory independent noitfier
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
2018-06-20 16:49:50 -05:00
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 e3e15f65e7 Don't output params warning when it doesn't make sense 2018-06-12 13:58:31 -05:00
Matthew D. Scholefield 989e29bb83 Support pb files in precise-test 2018-04-26 19:04:05 -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 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 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 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 fbdca29949 Fix database groups file when in subdirectory and formatting 2018-04-12 18:21:24 -05:00
Matthew D. Scholefield befd296128 FIx vectorizing invalid files 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 b254fe1358 Rename precise-stream to precise-engine
It makes way more sense
2018-02-26 21:19:30 -06:00
Matthew D. Scholefield 8ced324465 Rename Tensorflow to TensorFlow 2018-02-23 15:23:20 -06:00
Matthew D. Scholefield 88173fef95 Recursive glob data/random 2018-02-23 14:45:31 -06:00
Matthew D. Scholefield 988a4fe60c Add extra option to precise-collect 2018-02-23 14:38:04 -06:00
Matthew D. Scholefield a3d434de08 Fix default channels 2018-02-23 14:23:49 -06:00
Matthew D. Scholefield ce5f93369c New precise-collect script and minor fixes
- Fix precise-convert script
 - Fix pyinstaller spec
 - Change keyword folder to wake-word. This is more consistent with other labels
2018-02-23 13:47:56 -06:00
Matthew D. Scholefield cc32959e29 Remove system path modifications
To run a script during development, instead ./setup.sh followed by precise-<script_name> should be used
This ensures all the proper paths are already setup (such as for PreciseRunner)
2018-02-22 01:10:41 -06:00
Matthew D. Scholefield d622eef3ec Support only loading test data without train data 2018-02-22 01:02:50 -06:00
Matthew D. Scholefield 13c3d81993 Add precise-eval script 2018-02-21 23:16:54 -06:00
Matthew D. Scholefield 484a90f9bc Refacetor and source code standardization 2018-02-21 13:15:51 -06:00
Matthew D. Scholefield 2a3ff7dc26 Standardize imports and type hints 2018-02-15 14:54:08 -06:00
Matthew D. Scholefield d2a5469bf3 Improvements 2018-02-15 03:03:52 -06:00
Matthew D. Scholefield e3cb1f0bf4 Make training fail gracefully if dimensions are invalid 2017-12-18 18:51:03 -06:00
Matthew D. Scholefield b8f393fc53 Add sound on activation to precise-record 2017-12-18 18:49:19 -06:00
Matthew D. Scholefield 5d925dae59 Make record.py use precise wrapper 2017-11-28 14:58:37 -06:00
Matthew D. Scholefield cb31c79e86 Fix bytearray bug 2017-11-28 14:57:54 -06:00
Matthew D. Scholefield 9ceb23e34e Add copyright header 2017-11-28 14:57:54 -06:00
Matthew D. Scholefield 76a36ac712 Clean up imports 2017-11-21 16:51:37 -06:00
Matthew D. Scholefield 9463b0babf Add type hints 2017-11-21 16:30:22 -06:00
Matthew D. Scholefield cd9a08a605 Add weighted log loss option 2017-11-21 14:12:02 -06:00
Matthew D. Scholefield 2741b7afc3 Add more arguments to train_feedback.py 2017-11-14 19:28:24 -06:00
Matthew D. Scholefield 5e3b2594d4 Increase dropout and change loss to crossentropy
These changes have been found to improve the quality of the trained models
2017-11-14 19:27:48 -06:00
Matthew D. Scholefield de8037dffa Add functions to generate inhibitory data to reduce false positives
In practice, this actually increases false positives
2017-11-14 19:26:45 -06:00
Matthew D. Scholefield 61be0f6884 Increment version to 0.1.1 2017-11-10 16:41:44 -06:00