|
65 | 65 | }, |
66 | 66 | { |
67 | 67 | "cell_type": "code", |
68 | | - "execution_count": 0, |
| 68 | + "execution_count": null, |
69 | 69 | "metadata": { |
70 | 70 | "colab": {}, |
71 | 71 | "colab_type": "code", |
|
129 | 129 | }, |
130 | 130 | { |
131 | 131 | "cell_type": "code", |
132 | | - "execution_count": 0, |
| 132 | + "execution_count": null, |
133 | 133 | "metadata": { |
134 | 134 | "colab": {}, |
135 | 135 | "colab_type": "code", |
|
144 | 144 | "deeplabcut.extract_frames(path_config_file) " |
145 | 145 | ] |
146 | 146 | }, |
147 | | - { |
148 | | - "cell_type": "code", |
149 | | - "execution_count": null, |
150 | | - "metadata": {}, |
151 | | - "outputs": [], |
152 | | - "source": [ |
153 | | - "#AND/OR:\n", |
154 | | - "#SELECT RARE EVENTS MANUALLY:\n", |
155 | | - "%gui wx\n", |
156 | | - "deeplabcut.extract_frames(path_config_file,'manual')" |
157 | | - ] |
158 | | - }, |
159 | 147 | { |
160 | 148 | "cell_type": "markdown", |
161 | 149 | "metadata": { |
|
170 | 158 | }, |
171 | 159 | { |
172 | 160 | "cell_type": "code", |
173 | | - "execution_count": 0, |
| 161 | + "execution_count": null, |
174 | 162 | "metadata": { |
175 | 163 | "colab": {}, |
176 | 164 | "colab_type": "code", |
177 | 165 | "id": "iyROSOiEoEJI" |
178 | 166 | }, |
179 | 167 | "outputs": [], |
180 | 168 | "source": [ |
181 | | - "%gui wx\n", |
182 | | - "deeplabcut.label_frames(path_config_file)" |
| 169 | + "# napari will pop up!\n", |
| 170 | + "# Please go to plugin > deeplabcut to start\n", |
| 171 | + "# then, drag-and-drop the project configuration file into the viewer (the value of path_config_file)\n", |
| 172 | + "# finally, drop the folder containing the images (in 'labeled-data') in the viewer\n", |
| 173 | + "\n", |
| 174 | + "%gui qt6\n", |
| 175 | + "import napari\n", |
| 176 | + "napari.Viewer()" |
183 | 177 | ] |
184 | 178 | }, |
185 | 179 | { |
|
196 | 190 | }, |
197 | 191 | { |
198 | 192 | "cell_type": "code", |
199 | | - "execution_count": 0, |
| 193 | + "execution_count": null, |
200 | 194 | "metadata": { |
201 | 195 | "colab": {}, |
202 | 196 | "colab_type": "code", |
|
237 | 231 | }, |
238 | 232 | { |
239 | 233 | "cell_type": "code", |
240 | | - "execution_count": 0, |
| 234 | + "execution_count": null, |
241 | 235 | "metadata": { |
242 | 236 | "colab": {}, |
243 | 237 | "colab_type": "code", |
|
264 | 258 | }, |
265 | 259 | { |
266 | 260 | "cell_type": "code", |
267 | | - "execution_count": 0, |
| 261 | + "execution_count": null, |
268 | 262 | "metadata": { |
269 | 263 | "colab": {}, |
270 | 264 | "colab_type": "code", |
|
289 | 283 | }, |
290 | 284 | { |
291 | 285 | "cell_type": "code", |
292 | | - "execution_count": 0, |
| 286 | + "execution_count": null, |
293 | 287 | "metadata": { |
294 | 288 | "colab": {}, |
295 | 289 | "colab_type": "code", |
|
315 | 309 | }, |
316 | 310 | { |
317 | 311 | "cell_type": "code", |
318 | | - "execution_count": 0, |
| 312 | + "execution_count": null, |
319 | 313 | "metadata": { |
320 | 314 | "colab": {}, |
321 | 315 | "colab_type": "code", |
|
351 | 345 | }, |
352 | 346 | { |
353 | 347 | "cell_type": "code", |
354 | | - "execution_count": 0, |
| 348 | + "execution_count": null, |
355 | 349 | "metadata": { |
356 | 350 | "colab": {}, |
357 | 351 | "colab_type": "code", |
|
375 | 369 | }, |
376 | 370 | { |
377 | 371 | "cell_type": "code", |
378 | | - "execution_count": 0, |
| 372 | + "execution_count": null, |
379 | 373 | "metadata": { |
380 | 374 | "colab": {}, |
381 | 375 | "colab_type": "code", |
382 | 376 | "id": "n_FpEXtyoEJy" |
383 | 377 | }, |
384 | 378 | "outputs": [], |
385 | 379 | "source": [ |
386 | | - "%gui wx\n", |
| 380 | + "%gui qt6\n", |
387 | 381 | "deeplabcut.refine_labels(path_config_file)" |
388 | 382 | ] |
389 | 383 | }, |
|
406 | 400 | }, |
407 | 401 | { |
408 | 402 | "cell_type": "code", |
409 | | - "execution_count": 0, |
| 403 | + "execution_count": null, |
410 | 404 | "metadata": { |
411 | 405 | "colab": {}, |
412 | 406 | "colab_type": "code", |
|
432 | 426 | }, |
433 | 427 | { |
434 | 428 | "cell_type": "code", |
435 | | - "execution_count": 0, |
| 429 | + "execution_count": null, |
436 | 430 | "metadata": { |
437 | 431 | "colab": {}, |
438 | 432 | "colab_type": "code", |
|
471 | 465 | }, |
472 | 466 | { |
473 | 467 | "cell_type": "code", |
474 | | - "execution_count": 0, |
| 468 | + "execution_count": null, |
475 | 469 | "metadata": { |
476 | 470 | "colab": {}, |
477 | 471 | "colab_type": "code", |
|
495 | 489 | }, |
496 | 490 | { |
497 | 491 | "cell_type": "code", |
498 | | - "execution_count": 0, |
| 492 | + "execution_count": null, |
499 | 493 | "metadata": { |
500 | 494 | "colab": {}, |
501 | 495 | "colab_type": "code", |
|
0 commit comments