forked from tensorflow/tfjs-models
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial check in of the speech-commands project (tensorflow#50)
* Initial check in of the speech-commands project - Add python script for wav-to-dat conversion, which prepares the data for WebAudio FFT conversionin the browser: prep_wavs.py - Add unit tests for prep_wavs.py: prep_wavs_test.py - Add pylint config file (.pylintrc) - Add README.md - Include Python dev info in README.md - Add Python build (run_python_tests.sh) to Travis.
- Loading branch information
Showing
11 changed files
with
1,163 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ dist/ | |
**/*/.yalc | ||
|
||
.rpt2_cache/ | ||
|
||
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
language: node_js | ||
node_js: | ||
- '8' | ||
- '10' | ||
script: | ||
- yarn presubmit | ||
cache: yarn | ||
git: | ||
depth: 5 | ||
matrix: | ||
include: | ||
- language: node_js | ||
node_js: | ||
- '8' | ||
- '10' | ||
script: | ||
- yarn presubmit | ||
cache: yarn | ||
git: | ||
depth: 5 | ||
|
||
- langauge: python | ||
python: 3.5 | ||
script: | ||
- ./run_python_tests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
# Copyright 2018 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# ============================================================================== | ||
|
||
# Run all Python tests in this tfjs-models repository. | ||
|
||
set -e | ||
|
||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
"${SCRIPT_DIR}/speech-commands/training/browser-fft/py_lint_and_test.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "@tensorflow-models/speech-commands", | ||
"version": "0.1.0", | ||
"description": "Speech-command recognizer in TensorFlow.js", | ||
"peerDependencies": { | ||
"@tensorflow/tfjs": "^0.12.3" | ||
}, | ||
"devDependencies": { | ||
"@tensorflow/tfjs": "^0.12.3" | ||
}, | ||
"scripts": { | ||
"build": "echo 'No-op for now.'" | ||
}, | ||
"license": "Apache-2.0" | ||
} |
Oops, something went wrong.