Skip to content

Commit 6dd2242

Browse files
Fixed image rendering in notebooks (#918)
* Fixed image rendering in notebooks * Replaced python kernel for od_sr_synth.ipynb
1 parent 1fea2ba commit 6dd2242

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

doc/source/examples/cd_online_camelyon.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"We will use the Camelyon17 dataset, one of the [WILDS](https://wilds.stanford.edu/) datasets of [Koh et al, (2020)](https://arxiv.org/abs/2012.07421) that represent \"in-the-wild\" distribution shifts for various data modalities. It contains tissue scans to be classificatied as benign or cancerous. The pre-change distribution corresponds to scans from across three hospitals and the post-change distribution corresponds to scans from a new fourth hospital.\n",
6767
"\n",
6868
"<div>\n",
69-
"<img src=attachment:camelyon.png width=\"400\"/>\n",
69+
"<img src=image/camelyon.png width=\"400\"/>\n",
7070
"</div>\n",
7171
"\n",
7272
"[Koh et al, (2020)](https://arxiv.org/abs/2012.07421) show that models trained on scans from the pre-change distribution achieve an accuracy of 93.2% on unseen scans from same distribution, but only 70.3% accuracy on scans from the post-change distribution.\n",
@@ -546,7 +546,7 @@
546546
],
547547
"metadata": {
548548
"kernelspec": {
549-
"display_name": "Python 3",
549+
"display_name": "Python 3 (ipykernel)",
550550
"language": "python",
551551
"name": "python3"
552552
},
@@ -560,9 +560,9 @@
560560
"name": "python",
561561
"nbconvert_exporter": "python",
562562
"pygments_lexer": "ipython3",
563-
"version": "3.10.14"
563+
"version": "3.10.15"
564564
}
565565
},
566566
"nbformat": 4,
567-
"nbformat_minor": 2
567+
"nbformat_minor": 4
568568
}

doc/source/examples/cd_supervised_penguins.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"The [palmerpenguins](https://allisonhorst.github.io/palmerpenguins) dataset <cite data-cite=\"Horst2020\"><!-- --></cite> consists of data on 344 penguins from 3 islands in the Palmer Archipelago, Antarctica. There are 3 different species of penguin in the dataset, and a common task is to classify the the species of each penguin based upon two features, the length and depth of the peguin's bill, or beak.\n",
2222
"\n",
2323
"<div>\n",
24-
"<img src=\"attachment:penguins.png\" width=\"700\"/>\n",
24+
"<img src=\"image/penguins.png\" width=\"700\"/>\n",
2525
"</div>"
2626
]
2727
},
@@ -30,7 +30,7 @@
3030
"metadata": {},
3131
"source": [
3232
"<div>\n",
33-
"<img src=\"attachment:penguinculmen.png\" width=\"600\"/>\n",
33+
"<img src=\"image/penguinculmen.png\" width=\"600\"/>\n",
3434
"</div>\n",
3535
"\n",
3636
"Artwork by [Allison Horst](https://twitter.com/allison_horst)"
@@ -815,7 +815,7 @@
815815
],
816816
"metadata": {
817817
"kernelspec": {
818-
"display_name": "Python 3",
818+
"display_name": "venv",
819819
"language": "python",
820820
"name": "python3"
821821
},
@@ -829,7 +829,7 @@
829829
"name": "python",
830830
"nbconvert_exporter": "python",
831831
"pygments_lexer": "ipython3",
832-
"version": "3.10.14"
832+
"version": "3.10.15"
833833
}
834834
},
835835
"nbformat": 4,

docs-gb/examples/cd_online_camelyon.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"We will use the Camelyon17 dataset, one of the [WILDS](https://wilds.stanford.edu/) datasets of [Koh et al, (2020)](https://arxiv.org/abs/2012.07421) that represent \"in-the-wild\" distribution shifts for various data modalities. It contains tissue scans to be classificatied as benign or cancerous. The pre-change distribution corresponds to scans from across three hospitals and the post-change distribution corresponds to scans from a new fourth hospital.\n",
6767
"\n",
6868
"<div>\n",
69-
"<img src=attachment:camelyon.png width=\"400\"/>\n",
69+
"<img src=../images/camelyon.png width=\"400\"/>\n",
7070
"</div>\n",
7171
"\n",
7272
"[Koh et al, (2020)](https://arxiv.org/abs/2012.07421) show that models trained on scans from the pre-change distribution achieve an accuracy of 93.2% on unseen scans from same distribution, but only 70.3% accuracy on scans from the post-change distribution.\n",

docs-gb/examples/cd_supervised_penguins.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"The [palmerpenguins](https://allisonhorst.github.io/palmerpenguins) dataset <cite data-cite=\"Horst2020\"><!-- --></cite> consists of data on 344 penguins from 3 islands in the Palmer Archipelago, Antarctica. There are 3 different species of penguin in the dataset, and a common task is to classify the the species of each penguin based upon two features, the length and depth of the peguin's bill, or beak.\n",
2222
"\n",
2323
"<div>\n",
24-
"<img src=\"attachment:penguins.png\" width=\"700\"/>\n",
24+
"<img src=\"../images/penguins.png\" width=\"700\"/>\n",
2525
"</div>"
2626
]
2727
},
@@ -30,7 +30,7 @@
3030
"metadata": {},
3131
"source": [
3232
"<div>\n",
33-
"<img src=\"attachment:penguinculmen.png\" width=\"600\"/>\n",
33+
"<img src=\"../images/penguinculmen.png\" width=\"600\"/>\n",
3434
"</div>\n",
3535
"\n",
3636
"Artwork by [Allison Horst](https://twitter.com/allison_horst)"

docs-gb/examples/od_sr_synth.ipynb

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)