Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Commit 6709d22

Browse files
authored
Fix typos in Sound Classifier user guide (#3020)
1 parent 58a93d4 commit 6709d22

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

userguide/sound_classifier/advanced-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ This allows us to perform 5-fold cross validation more than twice as fast. For l
3535

3636

3737
#### Tune Custom Neural Network Configuration
38-
The [custom neural network](how-it-works.html#custom-neural-network-stage) used by the Sound Classifier is made up of a series of dense layers. Using more layers or more units in each layer can have a significant affect on accuracy. This will also affect the size of your model.
38+
The [custom neural network](how-it-works.html#custom-neural-network-stage) used by the Sound Classifier is made up of a series of dense layers. Using more layers or more units in each layer can have a significant effect on accuracy. This will also affect the size of your model.
3939

4040
The `custom_layer_sizes` parameter allows you specify how many layers and the number of units in each layer. The default values for this parameter is `[100, 100]` which corresponds to two dense layers with a 100 units each.
4141

42-
Using a smaller number of overall units will result in a smaller model, potentially with minimal affects on accuracy. If you have a large amount of training data, you should get better accuracy by using more layers and/or more units.
42+
Using a smaller number of overall units will result in a smaller model, potentially with minimal effects on accuracy. If you have a large amount of training data, you should get better accuracy by using more layers and/or more units.
4343

4444
The code below tries several different neural network configurations and reports the validation accuracy for each one:
4545

userguide/sound_classifier/how-it-works.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# How Does this Work?
1+
# How Does This Work?
22

33
Training and making predictions for a sound classifier model is a three
44
stage process:
5-
1 - Signal preprocessing
6-
2 - A pretrained neural network is used to extract deep features
7-
3 - A custom neural network is used to make the predictions
5+
6+
1. Signal preprocessing
7+
2. A pretrained neural network is used to extract deep features
8+
3. A custom neural network is used to make the predictions
9+
810
Details below about each stage.
911

1012
## Signal Preprocessing Pipeline Stage
@@ -31,7 +33,7 @@ input length depends on sample rate) and produces an array of shape
3133

3234
## VGGish Feature Extraction Stage
3335
VGGish is a pretrained [Convolutional Neural Network](https://en.wikipedia.org/wiki/Convolutional_neural_network) from Google,
34-
see [their paper](https://ai.google/research/pubs/pub45611) and [their GitHub page](https://github.com/tensorflow/models/tree/master/research/audioset) for more details. As the name suggests, the architecture of
36+
see [their paper](https://ai.google/research/pubs/pub45611) and [their GitHub page](https://github.com/tensorflow/models/tree/master/research/audioset/vggish) for more details. As the name suggests, the architecture of
3537
this network is inspired by the famous VGG networks used for image
3638
classification. The network consists of a series of convolution and
3739
activation layers, optionally followed by a max pooling layer.
@@ -42,7 +44,7 @@ last three layers of the original VGGish model. We use the widest
4244
layer, from the original network, as our input data for the final
4345
stage. This modified VGGish model outputs a double vector of length
4446
12,288. On non-Linux systems, the model has also been eight bit
45-
quantized, to reduce its size.
47+
quantized to reduce its size.
4648

4749
## Custom Neural Network Stage
4850
This is the only stage which is updated based on the input data.

0 commit comments

Comments
 (0)