- 08 Jun, 2021 1 commit
-
-
Dan Ellis authored
The original Colab by malcolmslaney didn't work with the current VGGish/tensorflow. Changed the link to an updated version.
-
- 18 Aug, 2020 1 commit
-
-
Manoj Plakal authored
* Added TF-Lite-compatible feature extractor and model exporter for YAMNet. - Added a TF-Lite compatible feature extractor. With the latest TF-Lite, that involves a DFT-multiplication replacement for tf.abs(tf.signal.stft()) and not a lot else. Note that TF-Lite now allows variable-length inputs. - Added a YAMNet exporter that produces TF2 SavedModels, TF-Lite models, and TF-JS models. - Cleanups: switched hyperparameters to a dataclass, got rid of some lingering cruft in yamnet_test. * Responded to DAn's comments in https://github.com/tensorflow/models/pull/9098 - Switched some hparams to float - Made class map asset available on the exported model, and tested that it can be loaded from the various exports.
-
- 10 Aug, 2020 2 commits
-
-
Manoj Plakal authored
* Added a TF-Hub-compatible SavedModel exporter for VGGish. * Responded to DAn's comments, switched linspace to arange everywhere.
-
Manoj Plakal authored
Fixed a long-standing bug where the released VGGish model used post-activation embedding output while the released embeddings were pre-activation. There are still discrepancies due to other reasons: differences in choice of YouTube transcode, repeated resamplings with different resamplers, slight differences in feature computation, etc.
-
- 09 Aug, 2020 1 commit
-
-
Manoj Plakal authored
* Made VGGish and YAMNet work in TF2 without disabling TF2 behavior. Allowed TF2 behavior and allowed passing in a features tensor into the VGGish model definition. Both of these changes are needed for making TF-Hub exports of these models. Lifted constraints on TF versions since tf_slim has been updated to work with TF 2. * Responded to DAn's comments in https://github.com/tensorflow/models/pull/9077 * Fixed typo in comment.
-
- 18 Jan, 2020 1 commit
-
-
Manoj Plakal authored
- Made code work with either TF v1.x or TF v2.x, while explicitly enabling v1.x behavior.l - Pulled slim from tf_slim package instead of through tensorflow contrib. Note that tf_slim itself uses tensorflow contrib so it requires using TF v1.x for now (referenced a relevant PR which should remove this limitation once it gets merged). - Removed all mention of scipy. Switched wav writing to soundfile. - Switched package name to soundfile instead of pysoundfile. The former is the newer name. - Updated installation instructions for both vggish and yamnet to reflect these changes. - Tested new installation procedures. vggish works with TF v1.15, yamnet works with TF v1.15.0 as well as TF v2.1.0.
-
- 13 Jan, 2020 3 commits
- 13 Jun, 2019 1 commit
-
-
Manoj Plakal authored
* Moved VGGish code into its own directory. * Moved most of old README.md into vggish/README.md.
-