Commit
·
7160059
1
Parent(s):
cfccf53
Create train_svc.ipynb
Browse files- train_svc.ipynb +76 -0
train_svc.ipynb
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"nbformat": 4,
|
3 |
+
"nbformat_minor": 0,
|
4 |
+
"metadata": {
|
5 |
+
"colab": {
|
6 |
+
"private_outputs": true,
|
7 |
+
"provenance": [],
|
8 |
+
"gpuType": "T4",
|
9 |
+
"include_colab_link": true
|
10 |
+
},
|
11 |
+
"kernelspec": {
|
12 |
+
"name": "python3",
|
13 |
+
"display_name": "Python 3"
|
14 |
+
},
|
15 |
+
"language_info": {
|
16 |
+
"name": "python"
|
17 |
+
},
|
18 |
+
"accelerator": "GPU"
|
19 |
+
},
|
20 |
+
"cells": [
|
21 |
+
{
|
22 |
+
"cell_type": "markdown",
|
23 |
+
"metadata": {
|
24 |
+
"id": "view-in-github",
|
25 |
+
"colab_type": "text"
|
26 |
+
},
|
27 |
+
"source": [
|
28 |
+
"<a href=\"https://colab.research.google.com/github/skychavda/advance-chat-application/blob/master/Easy%F0%9F%91%A8_9_12.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
|
29 |
+
]
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"cell_type": "markdown",
|
33 |
+
"source": [
|
34 |
+
"[](https://paypal.me/lesantillan)"
|
35 |
+
],
|
36 |
+
"metadata": {
|
37 |
+
"id": "Vc01O8jLgcFW"
|
38 |
+
}
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"cell_type": "markdown",
|
42 |
+
"source": [
|
43 |
+
"## Careful! I think Goole Colab banned Gradio. You will keep being disconnected. I don't know whether running this often might get your account banned too."
|
44 |
+
],
|
45 |
+
"metadata": {
|
46 |
+
"id": "gfuLFhwnr0Ao"
|
47 |
+
}
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"cell_type": "code",
|
51 |
+
"source": [
|
52 |
+
"#@title #Open the public URL\n",
|
53 |
+
"tensorboard=True#@param {type:\"boolean\"}\n",
|
54 |
+
"if not \"installed\" in locals():\n",
|
55 |
+
" from IPython.display import clear_output\n",
|
56 |
+
" from ipywidgets import Button\n",
|
57 |
+
" %cd /content\n",
|
58 |
+
" !git clone https://github.com/luisesantillan/project\n",
|
59 |
+
" !cd project && pip install -r requirements.txt && python download_files.py\n",
|
60 |
+
" clear_output()\n",
|
61 |
+
" Button(description=\"\\u2714 Success\", button_style='success')\n",
|
62 |
+
" installed=True\n",
|
63 |
+
"%cd /content/project\n",
|
64 |
+
"if tensorboard:\n",
|
65 |
+
" %load_ext tensorboard\n",
|
66 |
+
" %tensorboard --logdir ./logs\n",
|
67 |
+
"!python app.py --colab"
|
68 |
+
],
|
69 |
+
"metadata": {
|
70 |
+
"id": "Sb5fzhzEXK8X"
|
71 |
+
},
|
72 |
+
"execution_count": null,
|
73 |
+
"outputs": []
|
74 |
+
}
|
75 |
+
]
|
76 |
+
}
|