|
50 | 50 | "name": "stdout", |
51 | 51 | "output_type": "stream", |
52 | 52 | "text": [ |
53 | | - "Note: you may need to restart the kernel to use updated packages.\n" |
54 | | - ] |
55 | | - }, |
56 | | - { |
57 | | - "name": "stdout", |
58 | | - "output_type": "stream", |
59 | | - "text": [ |
| 53 | + "Note: you may need to restart the kernel to use updated packages.\n", |
60 | 54 | "Note: you may need to restart the kernel to use updated packages.\n" |
61 | 55 | ] |
62 | 56 | }, |
|
85 | 79 | }, |
86 | 80 | { |
87 | 81 | "cell_type": "code", |
88 | | - "execution_count": 2, |
| 82 | + "execution_count": 4, |
89 | 83 | "metadata": { |
90 | 84 | "execution": { |
91 | 85 | "iopub.execute_input": "2023-06-17T04:34:30.929427Z", |
|
99 | 93 | "name": "stdout", |
100 | 94 | "output_type": "stream", |
101 | 95 | "text": [ |
102 | | - "File ‘defhappy.mp4’ already there; not retrieving.\r\n" |
103 | | - ] |
104 | | - }, |
105 | | - { |
106 | | - "name": "stdout", |
107 | | - "output_type": "stream", |
108 | | - "text": [ |
109 | | - "File ‘emotion_detector.py’ already there; not retrieving.\r\n", |
110 | | - "\r\n" |
111 | | - ] |
112 | | - }, |
113 | | - { |
114 | | - "name": "stdout", |
115 | | - "output_type": "stream", |
116 | | - "text": [ |
117 | | - "File ‘face_detector.py’ already there; not retrieving.\r\n", |
118 | | - "\r\n" |
| 96 | + "File 'defhappy.mp4' already there; not retrieving.\n", |
| 97 | + "--2023-06-23 01:50:16-- https://raw.githubusercontent.com/georgia-tech-db/eva/master/evadb/udfs/emotion_detector.py\n", |
| 98 | + "Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.108.133, 185.199.111.133, ...\n", |
| 99 | + "Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.\n", |
| 100 | + "HTTP request sent, awaiting response... 200 OK\n", |
| 101 | + "Length: 6056 (5.9K) [text/plain]\n", |
| 102 | + "Saving to: 'emotion_detector.py'\n", |
| 103 | + "\n", |
| 104 | + "emotion_detector.py 100%[===================>] 5.91K --.-KB/s in 0s \n", |
| 105 | + "\n", |
| 106 | + "2023-06-23 01:50:16 (31.8 MB/s) - 'emotion_detector.py' saved [6056/6056]\n", |
| 107 | + "\n", |
| 108 | + "--2023-06-23 01:50:16-- https://raw.githubusercontent.com/georgia-tech-db/eva/master/evadb/udfs/face_detector.py\n", |
| 109 | + "Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.108.133, ...\n", |
| 110 | + "Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.\n", |
| 111 | + "HTTP request sent, awaiting response... 200 OK\n", |
| 112 | + "Length: 2886 (2.8K) [text/plain]\n", |
| 113 | + "Saving to: 'face_detector.py'\n", |
| 114 | + "\n", |
| 115 | + "face_detector.py 100%[===================>] 2.82K --.-KB/s in 0s \n", |
| 116 | + "\n", |
| 117 | + "2023-06-23 01:50:17 (21.1 MB/s) - 'face_detector.py' saved [2886/2886]\n", |
| 118 | + "\n" |
119 | 119 | ] |
120 | 120 | } |
121 | 121 | ], |
|
217 | 217 | }, |
218 | 218 | { |
219 | 219 | "cell_type": "code", |
220 | | - "execution_count": 4, |
| 220 | + "execution_count": 5, |
221 | 221 | "metadata": { |
222 | 222 | "execution": { |
223 | 223 | "iopub.execute_input": "2023-06-17T04:34:33.328551Z", |
|
254 | 254 | " <tbody>\n", |
255 | 255 | " <tr>\n", |
256 | 256 | " <th>0</th>\n", |
257 | | - " <td>UDF FaceDetector already exists, nothing added.</td>\n", |
| 257 | + " <td>UDF FaceDetector successfully added to the dat...</td>\n", |
258 | 258 | " </tr>\n", |
259 | 259 | " </tbody>\n", |
260 | 260 | "</table>\n", |
261 | 261 | "</div>" |
262 | 262 | ], |
263 | 263 | "text/plain": [ |
264 | | - " 0\n", |
265 | | - "0 UDF FaceDetector already exists, nothing added." |
| 264 | + " 0\n", |
| 265 | + "0 UDF FaceDetector successfully added to the dat..." |
266 | 266 | ] |
267 | 267 | }, |
268 | | - "execution_count": 4, |
| 268 | + "execution_count": 5, |
269 | 269 | "metadata": {}, |
270 | 270 | "output_type": "execute_result" |
271 | 271 | } |
|
608 | 608 | }, |
609 | 609 | { |
610 | 610 | "cell_type": "code", |
611 | | - "execution_count": 9, |
| 611 | + "execution_count": 6, |
612 | 612 | "metadata": { |
613 | 613 | "execution": { |
614 | 614 | "iopub.execute_input": "2023-06-17T04:34:53.779959Z", |
|
617 | 617 | "shell.execute_reply": "2023-06-17T04:34:53.783057Z" |
618 | 618 | } |
619 | 619 | }, |
620 | | - "outputs": [], |
| 620 | + "outputs": [ |
| 621 | + { |
| 622 | + "data": { |
| 623 | + "text/html": [ |
| 624 | + "<div>\n", |
| 625 | + "<style scoped>\n", |
| 626 | + " .dataframe tbody tr th:only-of-type {\n", |
| 627 | + " vertical-align: middle;\n", |
| 628 | + " }\n", |
| 629 | + "\n", |
| 630 | + " .dataframe tbody tr th {\n", |
| 631 | + " vertical-align: top;\n", |
| 632 | + " }\n", |
| 633 | + "\n", |
| 634 | + " .dataframe thead th {\n", |
| 635 | + " text-align: right;\n", |
| 636 | + " }\n", |
| 637 | + "</style>\n", |
| 638 | + "<table border=\"1\" class=\"dataframe\">\n", |
| 639 | + " <thead>\n", |
| 640 | + " <tr style=\"text-align: right;\">\n", |
| 641 | + " <th></th>\n", |
| 642 | + " <th>0</th>\n", |
| 643 | + " </tr>\n", |
| 644 | + " </thead>\n", |
| 645 | + " <tbody>\n", |
| 646 | + " <tr>\n", |
| 647 | + " <th>0</th>\n", |
| 648 | + " <td>UDF FaceDetector successfully dropped</td>\n", |
| 649 | + " </tr>\n", |
| 650 | + " </tbody>\n", |
| 651 | + "</table>\n", |
| 652 | + "</div>" |
| 653 | + ], |
| 654 | + "text/plain": [ |
| 655 | + " 0\n", |
| 656 | + "0 UDF FaceDetector successfully dropped" |
| 657 | + ] |
| 658 | + }, |
| 659 | + "execution_count": 6, |
| 660 | + "metadata": {}, |
| 661 | + "output_type": "execute_result" |
| 662 | + } |
| 663 | + ], |
621 | 664 | "source": [ |
622 | | - "#cursor.drop(item_name=\"EmotionDetector\", item_type=\"UDF\").df()\n", |
623 | | - "#cursor.drop(item_name=\"FaceDetector\", item_type=\"UDF\").df()" |
| 665 | + "cursor.drop_udf(\"EmotionDetector\").df()\n", |
| 666 | + "cursor.drop_udf(\"FaceDetector\").df()" |
624 | 667 | ] |
625 | 668 | } |
626 | 669 | ], |
|
0 commit comments