forked from Liu-Feng-deeplearning/CoverHunter
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated description of tools.identify
- Loading branch information
Showing
2 changed files
with
33 additions
and
3 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
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,30 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Utility to generate reference embeddings for all production-use audio data | ||
available, using the production-ready model you trained using, for example, | ||
tools.train_prod.py. Intended for use by tools.identify.py or other | ||
applications you might create that use your fully trained model. | ||
Parameters | ||
---------- | ||
data_path : string | ||
Relative path to the project folder containing the same dataset.txt file that you | ||
generated using tools.extract_csi_features.py and used to train your model. | ||
Example: "data/covers80" | ||
model_path : string | ||
Relative path to the project folder containing your trained model. | ||
Example: "training/covers80" | ||
Output | ||
------ | ||
Pickle file of reference embeddings. | ||
Created on Sat Jul 27 10:54:22 2024 | ||
@author: alan | ||
""" | ||
|