|
276 | 276 | "hide-output" |
277 | 277 | ] |
278 | 278 | }, |
279 | | - "outputs": [], |
| 279 | + "outputs": [ |
| 280 | + { |
| 281 | + "name": "stdout", |
| 282 | + "output_type": "stream", |
| 283 | + "text": [ |
| 284 | + "Cached model found, loading...\n" |
| 285 | + ] |
| 286 | + } |
| 287 | + ], |
280 | 288 | "source": [ |
281 | 289 | "model_ft = new_resnet_model(output_size=len(label_names))\n", |
282 | 290 | "mgr = TrainingManager(\n", |
|
398 | 406 | "hide-output" |
399 | 407 | ] |
400 | 408 | }, |
401 | | - "outputs": [], |
| 409 | + "outputs": [ |
| 410 | + { |
| 411 | + "data": { |
| 412 | + "application/vnd.jupyter.widget-view+json": { |
| 413 | + "model_id": "56845c326e4a42568b3015d2515146bc", |
| 414 | + "version_major": 2, |
| 415 | + "version_minor": 0 |
| 416 | + }, |
| 417 | + "text/plain": [ |
| 418 | + "Batch Test Gradients: 0%| | 0/1 [00:00<?, ?it/s]" |
| 419 | + ] |
| 420 | + }, |
| 421 | + "metadata": {}, |
| 422 | + "output_type": "display_data" |
| 423 | + }, |
| 424 | + { |
| 425 | + "data": { |
| 426 | + "application/vnd.jupyter.widget-view+json": { |
| 427 | + "model_id": "f2e0028727ce4a0d804e03363dcac10f", |
| 428 | + "version_major": 2, |
| 429 | + "version_minor": 0 |
| 430 | + }, |
| 431 | + "text/plain": [ |
| 432 | + "Batch Split Input Gradients: 0%| | 0/1 [00:00<?, ?it/s]" |
| 433 | + ] |
| 434 | + }, |
| 435 | + "metadata": {}, |
| 436 | + "output_type": "display_data" |
| 437 | + } |
| 438 | + ], |
402 | 439 | "source": [ |
403 | 440 | "influences = compute_influences(\n", |
404 | 441 | " TorchTwiceDifferentiable(mgr.model, mgr.loss),\n", |
|
691 | 728 | "hide-output" |
692 | 729 | ] |
693 | 730 | }, |
694 | | - "outputs": [], |
| 731 | + "outputs": [ |
| 732 | + { |
| 733 | + "name": "stdout", |
| 734 | + "output_type": "stream", |
| 735 | + "text": [ |
| 736 | + "Cached model found, loading...\n" |
| 737 | + ] |
| 738 | + } |
| 739 | + ], |
695 | 740 | "source": [ |
696 | 741 | "corrupted_model = new_resnet_model(output_size=len(label_names))\n", |
697 | 742 | "corrupted_dataset, corrupted_indices = corrupt_imagenet(\n", |
|
792 | 837 | "hide-output" |
793 | 838 | ] |
794 | 839 | }, |
795 | | - "outputs": [], |
| 840 | + "outputs": [ |
| 841 | + { |
| 842 | + "data": { |
| 843 | + "application/vnd.jupyter.widget-view+json": { |
| 844 | + "model_id": "0afacee322994491a310c3a2f6e5ffa0", |
| 845 | + "version_major": 2, |
| 846 | + "version_minor": 0 |
| 847 | + }, |
| 848 | + "text/plain": [ |
| 849 | + "Batch Test Gradients: 0%| | 0/1 [00:00<?, ?it/s]" |
| 850 | + ] |
| 851 | + }, |
| 852 | + "metadata": {}, |
| 853 | + "output_type": "display_data" |
| 854 | + }, |
| 855 | + { |
| 856 | + "data": { |
| 857 | + "application/vnd.jupyter.widget-view+json": { |
| 858 | + "model_id": "6b7fd714da8c4e16abf6bbeffae4f0b0", |
| 859 | + "version_major": 2, |
| 860 | + "version_minor": 0 |
| 861 | + }, |
| 862 | + "text/plain": [ |
| 863 | + "Batch Split Input Gradients: 0%| | 0/1 [00:00<?, ?it/s]" |
| 864 | + ] |
| 865 | + }, |
| 866 | + "metadata": {}, |
| 867 | + "output_type": "display_data" |
| 868 | + } |
| 869 | + ], |
796 | 870 | "source": [ |
797 | 871 | "influences = compute_influences(\n", |
798 | 872 | " TorchTwiceDifferentiable(mgr.model, mgr.loss),\n", |
|
0 commit comments