Spaces:
Sleeping
Sleeping
update
Browse files
examples/sample_filter/bad_case_find.py
CHANGED
@@ -50,7 +50,7 @@ def main():
|
|
50 |
label1, prob1 = client.predict(
|
51 |
audio=handle_file(filename),
|
52 |
# model_name="vm_sound_classification8-ch32",
|
53 |
-
model_name="voicemail-id-id-2-
|
54 |
ground_true="Hello!!",
|
55 |
api_name="/click_button"
|
56 |
)
|
|
|
50 |
label1, prob1 = client.predict(
|
51 |
audio=handle_file(filename),
|
52 |
# model_name="vm_sound_classification8-ch32",
|
53 |
+
model_name="voicemail-id-id-2-ch4",
|
54 |
ground_true="Hello!!",
|
55 |
api_name="/click_button"
|
56 |
)
|
examples/vm_sound_classification/run_batch.sh
CHANGED
@@ -19,12 +19,12 @@
|
|
19 |
#--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/*/wav_finished/*/*.wav" \
|
20 |
#--label_plan 4 \
|
21 |
#--config_file "yaml/conv2d-classifier-4-ch4.yaml"
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
|
29 |
|
30 |
# sound ch8
|
@@ -107,10 +107,10 @@ sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name fi
|
|
107 |
|
108 |
# pretrained voicemail
|
109 |
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
|
115 |
sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name voicemail-2-ch32 \
|
116 |
--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/*/wav_finished/*/*.wav" \
|
@@ -126,11 +126,11 @@ sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name fi
|
|
126 |
#--config_file "yaml/conv2d-classifier-2-ch4.yaml" \
|
127 |
#--pretrained_model "/data/tianxing/PycharmProjects/vm_sound_classification/trained_models/voicemail-2-ch4.zip"
|
128 |
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
|
135 |
#sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name voicemail-es-mx-2-ch4 \
|
136 |
#--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/es-MX/wav_finished/*/*.wav" \
|
@@ -195,11 +195,11 @@ sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name fi
|
|
195 |
#--config_file "yaml/conv2d-classifier-2-ch32.yaml" \
|
196 |
#--pretrained_model "/data/tianxing/PycharmProjects/vm_sound_classification/trained_models/voicemail-2-ch32.zip"
|
197 |
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
|
204 |
#sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name voicemail-es-mx-2-ch32 \
|
205 |
#--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/es-MX/wav_finished/*/*.wav" \
|
|
|
19 |
#--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/*/wav_finished/*/*.wav" \
|
20 |
#--label_plan 4 \
|
21 |
#--config_file "yaml/conv2d-classifier-4-ch4.yaml"
|
22 |
+
|
23 |
+
|
24 |
+
sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name sound-8-ch4 \
|
25 |
+
--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/*/wav_finished/*/*.wav" \
|
26 |
+
--label_plan 8 \
|
27 |
+
--config_file "yaml/conv2d-classifier-8-ch4.yaml"
|
28 |
|
29 |
|
30 |
# sound ch8
|
|
|
107 |
|
108 |
# pretrained voicemail
|
109 |
|
110 |
+
sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name voicemail-2-ch4 \
|
111 |
+
--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/*/wav_finished/*/*.wav" \
|
112 |
+
--label_plan 2-voicemail \
|
113 |
+
--config_file "yaml/conv2d-classifier-2-ch4.yaml"
|
114 |
|
115 |
sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name voicemail-2-ch32 \
|
116 |
--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/*/wav_finished/*/*.wav" \
|
|
|
126 |
#--config_file "yaml/conv2d-classifier-2-ch4.yaml" \
|
127 |
#--pretrained_model "/data/tianxing/PycharmProjects/vm_sound_classification/trained_models/voicemail-2-ch4.zip"
|
128 |
|
129 |
+
sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name voicemail-en-us-2-ch4 \
|
130 |
+
--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/en-US/wav_finished/*/*.wav" \
|
131 |
+
--label_plan 2-voicemail \
|
132 |
+
--config_file "yaml/conv2d-classifier-2-ch4.yaml" \
|
133 |
+
--pretrained_model "/data/tianxing/PycharmProjects/vm_sound_classification/trained_models/voicemail-2-ch4.zip"
|
134 |
|
135 |
#sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name voicemail-es-mx-2-ch4 \
|
136 |
#--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/es-MX/wav_finished/*/*.wav" \
|
|
|
195 |
#--config_file "yaml/conv2d-classifier-2-ch32.yaml" \
|
196 |
#--pretrained_model "/data/tianxing/PycharmProjects/vm_sound_classification/trained_models/voicemail-2-ch32.zip"
|
197 |
|
198 |
+
sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name voicemail-en-us-2-ch32 \
|
199 |
+
--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/en-US/wav_finished/*/*.wav" \
|
200 |
+
--label_plan 2-voicemail \
|
201 |
+
--config_file "yaml/conv2d-classifier-2-ch32.yaml" \
|
202 |
+
--pretrained_model "/data/tianxing/PycharmProjects/vm_sound_classification/trained_models/voicemail-2-ch32.zip"
|
203 |
|
204 |
#sh run.sh --stage 0 --stop_stage 6 --system_version centos --file_folder_name file_dir --final_model_name voicemail-es-mx-2-ch32 \
|
205 |
#--filename_patterns "/data/tianxing/PycharmProjects/datasets/voicemail/es-MX/wav_finished/*/*.wav" \
|