Skip to content

Commit 43c2231

Browse files
committed
Update output of notebooks/influence_imagenet
1 parent 9429c3e commit 43c2231

File tree

1 file changed

+78
-4
lines changed

1 file changed

+78
-4
lines changed

notebooks/influence_imagenet.ipynb

Lines changed: 78 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,15 @@
276276
"hide-output"
277277
]
278278
},
279-
"outputs": [],
279+
"outputs": [
280+
{
281+
"name": "stdout",
282+
"output_type": "stream",
283+
"text": [
284+
"Cached model found, loading...\n"
285+
]
286+
}
287+
],
280288
"source": [
281289
"model_ft = new_resnet_model(output_size=len(label_names))\n",
282290
"mgr = TrainingManager(\n",
@@ -398,7 +406,36 @@
398406
"hide-output"
399407
]
400408
},
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+
],
402439
"source": [
403440
"influences = compute_influences(\n",
404441
" TorchTwiceDifferentiable(mgr.model, mgr.loss),\n",
@@ -691,7 +728,15 @@
691728
"hide-output"
692729
]
693730
},
694-
"outputs": [],
731+
"outputs": [
732+
{
733+
"name": "stdout",
734+
"output_type": "stream",
735+
"text": [
736+
"Cached model found, loading...\n"
737+
]
738+
}
739+
],
695740
"source": [
696741
"corrupted_model = new_resnet_model(output_size=len(label_names))\n",
697742
"corrupted_dataset, corrupted_indices = corrupt_imagenet(\n",
@@ -792,7 +837,36 @@
792837
"hide-output"
793838
]
794839
},
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+
],
796870
"source": [
797871
"influences = compute_influences(\n",
798872
" TorchTwiceDifferentiable(mgr.model, mgr.loss),\n",

0 commit comments

Comments
 (0)