Skip to content

Commit

Permalink
fixes #379
Browse files Browse the repository at this point in the history
  • Loading branch information
“oguiza” committed Jan 23, 2022
1 parent d00fab4 commit 683aad4
Show file tree
Hide file tree
Showing 20 changed files with 1,368 additions and 454 deletions.
51 changes: 47 additions & 4 deletions nbs/000_export.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"000_export.ipynb saved at 2021-12-09 07:33:41.\n",
"000_export.ipynb saved at 2022-01-23 14:52:09.\n",
"000_export.ipynb converted to /Users/nacho/notebooks/tsai/nbs/000_export.py\n",
"000_export.ipynb converted to 000_export.py\n",
"000_export.ipynb converted to ../nbs/000_export.py\n"
Expand All @@ -418,7 +418,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"000_export.ipynb saved at 2021-12-09 07:33:44.\n",
"000_export.ipynb saved at 2022-01-23 14:52:12.\n",
"000_export.ipynb converted to ../test_export/000_export.py\n"
]
}
Expand Down Expand Up @@ -468,7 +468,50 @@
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"application/javascript": [
"IPython.notebook.save_checkpoint();"
],
"text/plain": [
"<IPython.core.display.Javascript object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"000_export.ipynb saved at 2022-01-23 14:52:17.\n",
"Converted 000_export.ipynb.\n",
"\n",
"\n",
"Correct conversion! 😃\n",
"Total time elapsed 0.026 s\n",
"Sunday 23/01/22 14:52:21 CET\n"
]
},
{
"data": {
"text/html": [
"\n",
" <audio controls=\"controls\" autoplay=\"autoplay\">\n",
" <source src=\"data:audio/wav;base64,UklGRvQHAABXQVZFZm10IBAAAAABAAEAECcAACBOAAACABAAZGF0YdAHAAAAAPF/iPh/gOoOon6w6ayCoR2ZeyfbjobxK+F2Hs0XjKc5i3DGvzaTlEaraE+zz5uLUl9f46fHpWJdxVSrnfmw8mYEScqUP70cb0Q8X41uysJ1si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np8hhi3gdruSX+3CSWAwP38f8f6UoCuDPF+6Os8gnAbKnxQ3d2F0imydzDPKIuiN5lxu8EKkrFE82kftW2az1DbYImpMqTUW3FWIJ83r5hl2koJlla7+m0+PmSOZcjcdMgwS4g11iZ6qCLUg5jkxn0QFA6BWvOvfzEFBIBHAtp/Qfa3gC4RSH5y5yeD2B/8evnYS4cULgR2CMsUja47cG/QvW6UeEhXZ3+xP51GVNVdP6Zpp+1eDFM5nMeySWghR4+TNL85cD46YIyCzKJ2kCzEhoTabXtGHs+CCemJfpMPjoDe9+t/qQALgM8Gj3++8UaBqRV2fQTjO4Q3JKd5r9TgiEYyMHTxxiWPpz8jbfq585YpTJpk960xoKFXsVoTo7yq6GGMTw==\" type=\"audio/wav\" />\n",
" Your browser does not support the audio element.\n",
" </audio>\n",
" "
],
"text/plain": [
"<IPython.lib.display.Audio object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#hide\n",
"from tsai.imports import create_scripts\n",
Expand All @@ -480,7 +523,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
}
Expand Down
300 changes: 152 additions & 148 deletions nbs/001_utils.ipynb

Large diffs are not rendered by default.

554 changes: 503 additions & 51 deletions nbs/010_data.validation.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions nbs/012_data.external.ipynb

Large diffs are not rendered by default.

161 changes: 59 additions & 102 deletions nbs/013_data.core.ipynb

Large diffs are not rendered by default.

71 changes: 14 additions & 57 deletions nbs/052a_inference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@
"text/plain": [
"(TSTensor(vars:30, len:4, device=cpu),\n",
" None,\n",
" array(['4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4'], dtype='<U1'))"
" array(['2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2'], dtype='<U1'))"
]
},
"execution_count": null,
Expand Down Expand Up @@ -153,9 +153,9 @@
"(TSTensor(vars:30, len:4, device=cpu),\n",
" TensorCategory([0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3,\n",
" 3, 3, 3, 3, 3, 3]),\n",
" array(['4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4'], dtype='<U1'))"
" array(['2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2'], dtype='<U1'))"
]
},
"execution_count": null,
Expand Down Expand Up @@ -189,13 +189,13 @@
"(TSTensor(vars:30, len:4, device=cpu),\n",
" TensorCategory([0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3,\n",
" 3, 3, 3, 3, 3, 3]),\n",
" array(['4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',\n",
" '4', '4', '4', '4'], dtype='<U1'),\n",
" TensorBase([1.4298, 1.4298, 1.4298, 1.4298, 1.4298, 1.4277, 1.4277, 1.4277, 1.4277,\n",
" 1.4277, 1.4278, 1.4277, 1.4277, 1.4277, 1.3628, 1.3634, 1.3630, 1.3630,\n",
" 1.3286, 1.3286, 1.3285, 1.3285, 1.3285, 1.3286, 1.3284, 1.3286, 1.3284,\n",
" 1.3285, 1.3283, 1.3286]))"
" array(['2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',\n",
" '2', '2', '2', '2'], dtype='<U1'),\n",
" TensorBase([1.4478, 1.4478, 1.4480, 1.4479, 1.4479, 1.2672, 1.2672, 1.2671, 1.2671,\n",
" 1.2672, 1.2671, 1.2669, 1.2672, 1.2671, 1.4285, 1.4285, 1.4285, 1.4286,\n",
" 1.4121, 1.4121, 1.4122, 1.4121, 1.4122, 1.4121, 1.4122, 1.4122, 1.4122,\n",
" 1.4121, 1.4122, 1.4120]))"
]
},
"execution_count": null,
Expand Down Expand Up @@ -225,50 +225,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/javascript": [
"IPython.notebook.save_checkpoint();"
],
"text/plain": [
"<IPython.core.display.Javascript object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"052a_inference.ipynb saved at 2021-12-28 21:29:34.\n",
"Converted 052a_inference.ipynb.\n",
"\n",
"\n",
"Correct conversion! 😃\n",
"Total time elapsed 0.097 s\n",
"Tuesday 28/12/21 21:29:37 CET\n"
]
},
{
"data": {
"text/html": [
"\n",
" <audio controls=\"controls\" autoplay=\"autoplay\">\n",
" <source src=\"data:audio/wav;base64,UklGRvQHAABXQVZFZm10IBAAAAABAAEAECcAACBOAAACABAAZGF0YdAHAAAAAPF/iPh/gOoOon6w6ayCoR2ZeyfbjobxK+F2Hs0XjKc5i3DGvzaTlEaraE+zz5uLUl9f46fHpWJdxVSrnfmw8mYEScqUP70cb0Q8X41uysJ1si6Eh1jYzXp9IE2DzOYsftYRyoCY9dJ/8QICgIcEun8D9PmAaBPlfT7lq4MFIlh61tYPiCswIHX+yBaOqT1QbuW7qpVQSv9lu6+xnvRVSlyopAypbGBTUdSalrSTaUBFYpInwUpxOzhti5TOdndyKhCGrdwAfBUcXIJB69p+Vw1egB76+n9q/h6ADglbf4LvnIHfF/981ODThF4m8HiS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Uja47cG/QvW6UeEhXZ3+xP51GVNVdP6Zpp+1eDFM5nMeySWghR4+TNL85cD46YIyCzKJ2kCzEhoTabXtGHs+CCemJfpMPjoDe9+t/qQALgM8Gj3++8UaBqRV2fQTjO4Q3JKd5r9TgiEYyMHTxxiWPpz8jbfq585YpTJpk960xoKFXsVoTo7yq6GGMTw==\" type=\"audio/wav\" />\n",
" Your browser does not support the audio element.\n",
" </audio>\n",
" "
],
"text/plain": [
"<IPython.lib.display.Audio object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"#hide\n",
"from tsai.imports import create_scripts\n",
Expand Down
113 changes: 35 additions & 78 deletions nbs/052b_analysis.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 683aad4

Please sign in to comment.