Commit Graph

285 Commits (dependabot/pip/tensorflow-2.9.3)

Author SHA1 Message Date
Matthew Scholefield 904bd7168e Add exception_on_overflow=False to pyaudio.Stream.read
This resolves some issues with reading streams on certain platforms (#59)
This also removes the read_divisor in favor of a wrapper for pyaudio which slightly simplifies the code
2019-01-26 16:54:20 -06:00
Matthew D. Scholefield 4284fc83ae
Update README
- Add runner.start() to sample scripts
 - Specify only Linux Desktops are supported in the Binary install
2019-01-26 14:09:51 -06:00
Matthew D. Scholefield 2b13175b9f
Add link to pretrained models in README 2019-01-21 14:31:56 -06:00
Matthew D. Scholefield a1ad138bf0
Re-add speechpy to requirements (Fixes #45)
This prevents older models from erroring
2018-11-11 21:23:01 -06:00
Matthew D. Scholefield 7d539f34da
Make sourcing the venv clearer 2018-11-07 16:27:49 -06:00
Matthew D. Scholefield 3827d08a48
Add extra binary install readme info (Fixes #40) 2018-11-05 20:56:19 -06:00
Matthew Scholefield e3c74dd44d Improve export script 2018-10-19 12:55:31 -05:00
Matthew Scholefield 692df01e01 Make shuffling configurable (Fixes #28)
This fixes filenames in precise-test being incorrect
2018-10-15 14:12:40 -05:00
Matthew Scholefield 8b6e05ebc0 Fix exception on Ubuntu 2018-10-12 18:50:09 -05:00
Matthew Scholefield 6b34a58339 Update export script to auto package tar and calculate md5 2018-10-12 11:04:08 -05:00
Matthew Scholefield da286a2dd7 Make noise ratio configurable via command line 2018-10-09 19:07:48 -05:00
Matthew Scholefield 78603bd3c2 Add precise-add-noise script
This is used to generate noise into a dataset
2018-09-05 05:02:52 -05:00
Matthew Scholefield 33f0e48167 Prevent corrupt group json from stopping training
It can be regenerated so it's not a big deal if it gets corrupt
2018-09-05 05:01:21 -05:00
Matthew Scholefield 90d8671cf7 Fix delay samples in train-incremental
Also fixes bug with model parameters
2018-09-05 01:53:07 -05:00
Matthew Scholefield b3e6efaf53 Fix failing to load params
Fixes #26
2018-08-11 10:12:34 -05:00
Matthew D. Scholefield 91184444cb
Remove broken tensorflow download code
For the Raspberry Pi, it is now officially supported. It also would incorrectly run on desktop python 3.4 installations
2018-08-10 01:02:33 -05:00
Matthew Scholefield 80b13db2e7 Improve formatting line break 2018-08-10 00:03:16 -05:00
Matthew Scholefield 02fa053653 Fix loss bias in trainer.py 2018-08-10 00:02:39 -05:00
Matthew Scholefield 63b4592675 Fix activations_per_day in precise-simulate 2018-08-10 00:01:16 -05:00
Matthew Scholefield e43498d2ea Explicitly delete large vectors
This reduces potential memory overlap
2018-08-10 00:00:30 -05:00
Matthew Scholefield b1d7a7ff5d Show percentage when calculating vectors 2018-08-09 23:59:26 -05:00
Matthew Scholefield 7bded13de4 Change vectorizer to Sonopy
Also adds vectorizer parameter to choose between mels and mfccs
2018-08-09 23:58:21 -05:00
Matthew Scholefield 754d332b10 Reorganize and improve setup.py
Added keywords and license keys
2018-08-09 23:10:59 -05:00
Matthew Scholefield d71ea3fee0 Add visual element to precise-listen
The previous default `precise-listen` is not `precise-listen -l`
2018-08-09 11:36:10 -05:00
Matthew D. Scholefield 8cfbd41d8c
Fix Python 3.4 compatibility in train-incremental 2018-08-07 16:27:56 -05:00
Matthew D. Scholefield fd2b71b069
Replace Python 3.5+ syntax
Otherwise it errors on Python 3.4
2018-08-06 16:54:26 -05:00
Matthew Scholefield 7b802be7b8 Move Trainer into precise.scripts.train
Not having it there was inconsistent because the other trainer classes are in the scripts package within the respective scripts
2018-07-26 13:19:10 -05:00
Matthew Scholefield 9642fcc07f Inject params in precise-simulate 2018-07-25 10:06:14 -05:00
Matthew D. Scholefield d17002cd4f
Update training link 2018-07-17 14:47:46 -05:00
Mikhail Dmitrienko 81a8b18986 Removed redundant code (#20)
Removed a redundant line of code. print("False positive: ", false_positives * 100, "%") is already printed so print(false_positives) isn't needed.
2018-07-16 15:22:00 -05:00
Mikhail Dmitrienko 75e0769026 Changed the maximum possible amount of units (#19)
Changed the maximum possible amount of units for the optimization to return to 70 units.
2018-07-16 11:57:43 -05:00
Matthew Scholefield b7ae1472f1 Upgrade requirements.txt 2018-07-13 14:52:12 -05:00
Matthew Scholefield d6db6c8ec2 Make train_optimize inherit from Trainer 2018-07-12 21:22:08 -05:00
Matthew D. Scholefield 8145dedefa
Merge pull request #18 from mikhaildmitrienko/hyperparameter
Created train_optimizer.py
2018-07-12 17:27:01 -05:00
Matthew Scholefield 651901143d Add precise-train-optimize alias for train_optimize.py 2018-07-12 17:24:01 -05:00
Matthew Scholefield 7f915f939d Remove unused variables 2018-07-12 17:21:54 -05:00
Matthew Scholefield 3549765a84 Move module level code into main function 2018-07-12 17:21:54 -05:00
Matthew Scholefield f917a72f4c Add bbopt to dependencies 2018-07-12 17:21:54 -05:00
Matthew Scholefield 4d1f212c2b Remove environment specific definition 2018-07-12 17:21:54 -05:00
Matthew Scholefield c5dd7c891d Autoformat and remove unused imports 2018-07-12 17:21:54 -05:00
Matthew Scholefield 5818a101da Add license header 2018-07-12 17:21:54 -05:00
Matthew Scholefield 4f5df1b997 Make imports absolute 2018-07-12 17:21:54 -05:00
Matthew Scholefield ac43e4b6bb Add .py extension to train_optimize
Also rename to train_optimize to be consistent with verbiage
2018-07-12 17:21:54 -05:00
mikhaildmitrienko 01dc86896d Created train_optimizer.py 2018-07-12 17:21:54 -05:00
Matthew Scholefield 7d97cd2331 Add simulate script 2018-07-12 16:57:02 -05:00
Matthew Scholefield 04174efeb8 Remove executable flag from setup.py 2018-07-12 14:43:05 -05:00
Matthew Scholefield d32fb6fee3 Fix extra comma on assignment 2018-07-12 14:21:54 -05:00
Matthew Scholefield 8696ef80ba Extract TriggerDetector class to simplify PreciseRunner
This also makes it easier to perform similar functionality in an upcoming simulationn script
2018-07-12 13:38:39 -05:00
Matthew Scholefield 36804075b3 Fix Nan in false_neg and false_pos metrics
This was caused when small batches with no positive samples caused a divide-by-zero
2018-07-11 19:34:22 -05:00
Matthew Scholefield d8dd0f3240 Shuffle training and testing data before training
This fixes issues with small batch sizes and metrics
2018-07-11 19:32:39 -05:00