Skip to content

Commit fec1051

Browse files
committed
fix(example): update example configs
1 parent 2a40a6c commit fec1051

File tree

8 files changed

+92
-92
lines changed

8 files changed

+92
-92
lines changed

examples/conformer/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ learning_config:
114114
num_epochs: 50
115115
checkpoint:
116116
filepath: /mnt/Miscellanea/Models/local/conformer/checkpoints/{epoch:02d}.h5
117-
save_best_only: True
117+
save_best_only: False
118118
save_weights_only: True
119119
save_freq: epoch
120120
states_dir: /mnt/Miscellanea/Models/local/conformer/states

examples/contextnet/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ learning_config:
247247
num_epochs: 20
248248
checkpoint:
249249
filepath: /mnt/e/Models/local/contextnet/checkpoints/{epoch:02d}.h5
250-
save_best_only: True
250+
save_best_only: False
251251
save_weights_only: True
252252
save_freq: epoch
253253
states_dir: /mnt/e/Models/local/contextnet/states

examples/deepspeech2/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ learning_config:
9191
num_epochs: 20
9292
checkpoint:
9393
filepath: /mnt/e/Models/local/deepspeech2/checkpoints/{epoch:02d}.h5
94-
save_best_only: True
94+
save_best_only: False
9595
save_weights_only: True
9696
save_freq: epoch
9797
states_dir: /mnt/e/Models/local/deepspeech2/states

examples/jasper/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ learning_config:
9898
num_epochs: 20
9999
checkpoint:
100100
filepath: /mnt/e/Models/local/jasper/checkpoints/{epoch:02d}.h5
101-
save_best_only: True
101+
save_best_only: False
102102
save_weights_only: True
103103
save_freq: epoch
104104
states_dir: /mnt/e/Models/local/jasper/states

examples/rnn_transducer/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ learning_config:
106106
num_epochs: 20
107107
checkpoint:
108108
filepath: /mnt/e/Models/local/rnn_transducer/checkpoints/{epoch:02d}.h5
109-
save_best_only: True
109+
save_best_only: False
110110
save_weights_only: True
111111
save_freq: epoch
112112
states_dir: /mnt/e/Models/local/rnn_transducer/states

notebooks/conformer.ipynb

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,4 @@
11
{
2-
"metadata": {
3-
"language_info": {
4-
"codemirror_mode": {
5-
"name": "ipython",
6-
"version": 3
7-
},
8-
"file_extension": ".py",
9-
"mimetype": "text/x-python",
10-
"name": "python",
11-
"nbconvert_exporter": "python",
12-
"pygments_lexer": "ipython3",
13-
"version": "3.8.8-final"
14-
},
15-
"orig_nbformat": 2,
16-
"kernelspec": {
17-
"name": "python388jvsc74a57bd045f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f",
18-
"display_name": "Python 3.8.8 64-bit ('tfo': conda)"
19-
},
20-
"metadata": {
21-
"interpreter": {
22-
"hash": "45f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f"
23-
}
24-
}
25-
},
26-
"nbformat": 4,
27-
"nbformat_minor": 2,
282
"cells": [
293
{
304
"cell_type": "code",
@@ -137,7 +111,7 @@
137111
" \"num_epochs\": 50,\n",
138112
" \"checkpoint\": {\n",
139113
" \"filepath\": \"/mnt/e/Models/local/conformer/checkpoints/{epoch:02d}.h5\",\n",
140-
" \"save_best_only\": True,\n",
114+
" \"save_best_only\": False,\n",
141115
" \"save_weights_only\": True,\n",
142116
" \"save_freq\": \"epoch\",\n",
143117
" },\n",
@@ -265,5 +239,31 @@
265239
"outputs": [],
266240
"source": []
267241
}
268-
]
269-
}
242+
],
243+
"metadata": {
244+
"kernelspec": {
245+
"display_name": "Python 3.8.8 64-bit ('tfo': conda)",
246+
"name": "python388jvsc74a57bd045f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f"
247+
},
248+
"language_info": {
249+
"codemirror_mode": {
250+
"name": "ipython",
251+
"version": 3
252+
},
253+
"file_extension": ".py",
254+
"mimetype": "text/x-python",
255+
"name": "python",
256+
"nbconvert_exporter": "python",
257+
"pygments_lexer": "ipython3",
258+
"version": "3.8.8-final"
259+
},
260+
"metadata": {
261+
"interpreter": {
262+
"hash": "45f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f"
263+
}
264+
},
265+
"orig_nbformat": 2
266+
},
267+
"nbformat": 4,
268+
"nbformat_minor": 2
269+
}

notebooks/contextnet.ipynb

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,4 @@
11
{
2-
"metadata": {
3-
"language_info": {
4-
"codemirror_mode": {
5-
"name": "ipython",
6-
"version": 3
7-
},
8-
"file_extension": ".py",
9-
"mimetype": "text/x-python",
10-
"name": "python",
11-
"nbconvert_exporter": "python",
12-
"pygments_lexer": "ipython3",
13-
"version": "3.8.8-final"
14-
},
15-
"orig_nbformat": 2,
16-
"kernelspec": {
17-
"name": "python388jvsc74a57bd045f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f",
18-
"display_name": "Python 3.8.8 64-bit ('tfo': conda)"
19-
},
20-
"metadata": {
21-
"interpreter": {
22-
"hash": "45f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f"
23-
}
24-
}
25-
},
26-
"nbformat": 4,
27-
"nbformat_minor": 2,
282
"cells": [
293
{
304
"cell_type": "code",
@@ -308,7 +282,7 @@
308282
" \"num_epochs\": 20,\n",
309283
" \"checkpoint\": {\n",
310284
" \"filepath\": \"/mnt/e/Models/local/contextnet/checkpoints/{epoch:02d}.h5\",\n",
311-
" \"save_best_only\": True,\n",
285+
" \"save_best_only\": False,\n",
312286
" \"save_weights_only\": True,\n",
313287
" \"save_freq\": \"epoch\",\n",
314288
" },\n",
@@ -429,5 +403,31 @@
429403
")"
430404
]
431405
}
432-
]
433-
}
406+
],
407+
"metadata": {
408+
"kernelspec": {
409+
"display_name": "Python 3.8.8 64-bit ('tfo': conda)",
410+
"name": "python388jvsc74a57bd045f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f"
411+
},
412+
"language_info": {
413+
"codemirror_mode": {
414+
"name": "ipython",
415+
"version": 3
416+
},
417+
"file_extension": ".py",
418+
"mimetype": "text/x-python",
419+
"name": "python",
420+
"nbconvert_exporter": "python",
421+
"pygments_lexer": "ipython3",
422+
"version": "3.8.8-final"
423+
},
424+
"metadata": {
425+
"interpreter": {
426+
"hash": "45f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f"
427+
}
428+
},
429+
"orig_nbformat": 2
430+
},
431+
"nbformat": 4,
432+
"nbformat_minor": 2
433+
}

notebooks/rnn_transducer.ipynb

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,4 @@
11
{
2-
"metadata": {
3-
"language_info": {
4-
"codemirror_mode": {
5-
"name": "ipython",
6-
"version": 3
7-
},
8-
"file_extension": ".py",
9-
"mimetype": "text/x-python",
10-
"name": "python",
11-
"nbconvert_exporter": "python",
12-
"pygments_lexer": "ipython3",
13-
"version": "3.8.8-final"
14-
},
15-
"orig_nbformat": 2,
16-
"kernelspec": {
17-
"name": "python388jvsc74a57bd045f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f",
18-
"display_name": "Python 3.8.8 64-bit ('tfo': conda)"
19-
},
20-
"metadata": {
21-
"interpreter": {
22-
"hash": "45f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f"
23-
}
24-
}
25-
},
26-
"nbformat": 4,
27-
"nbformat_minor": 2,
282
"cells": [
293
{
304
"cell_type": "code",
@@ -121,7 +95,7 @@
12195
" \"num_epochs\": 20,\n",
12296
" \"checkpoint\": {\n",
12397
" \"filepath\": \"/mnt/e/Models/local/rnn_transducer/checkpoints/{epoch:02d}.h5\",\n",
124-
" \"save_best_only\": True,\n",
98+
" \"save_best_only\": False,\n",
12599
" \"save_weights_only\": True,\n",
126100
" \"save_freq\": \"epoch\",\n",
127101
" },\n",
@@ -233,5 +207,31 @@
233207
")"
234208
]
235209
}
236-
]
237-
}
210+
],
211+
"metadata": {
212+
"kernelspec": {
213+
"display_name": "Python 3.8.8 64-bit ('tfo': conda)",
214+
"name": "python388jvsc74a57bd045f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f"
215+
},
216+
"language_info": {
217+
"codemirror_mode": {
218+
"name": "ipython",
219+
"version": 3
220+
},
221+
"file_extension": ".py",
222+
"mimetype": "text/x-python",
223+
"name": "python",
224+
"nbconvert_exporter": "python",
225+
"pygments_lexer": "ipython3",
226+
"version": "3.8.8-final"
227+
},
228+
"metadata": {
229+
"interpreter": {
230+
"hash": "45f983f364f7a4cc7101e6d6987a2125bf0c2b5c5c9855ff35103689f542d13f"
231+
}
232+
},
233+
"orig_nbformat": 2
234+
},
235+
"nbformat": 4,
236+
"nbformat_minor": 2
237+
}

0 commit comments

Comments
 (0)