Skip to content

Commit 9aff40d

Browse files
authored
Merge pull request CSAILVision#245 from davidbau/tutorial
Tutorial fixes
2 parents e494c00 + c68aada commit 9aff40d

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ https://github.com/CSAILVision/sceneparsing
77

88
If you simply want to play with our demo, please try this link: http://scenesegmentation.csail.mit.edu You can upload your own photo and parse it!
99

10+
[You can also use this colab notebook playground here](https://colab.research.google.com/github/CSAILVision/semantic-segmentation-pytorch/blob/master/notebooks/DemoSegmenter.ipynb) to tinker with the code for segmenting an image.
11+
1012
All pretrained models can be found at:
1113
http://sceneparsing.csail.mit.edu/model/pytorch
1214

notebooks/DemoSegmenter.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"This is a notebook for running the benchmark semantic segmentation network from the the [ADE20K MIT Scene Parsing Benchchmark](http://sceneparsing.csail.mit.edu/).\n",
1010
"\n",
1111
"The code for this notebook is available here\n",
12-
"https://github.com/davidbau/semantic-segmentation-pytorch/tree/tutorial/notebooks\n",
12+
"https://github.com/CSAILVision/semantic-segmentation-pytorch/tree/master/notebooks\n",
1313
"\n",
14-
"It can be run on Colab at this URL https://colab.research.google.com/github/davidbau/semantic-segmentation-pytorch/blob/tutorial/notebooks/DemoSegmenter.ipynb"
14+
"It can be run on Colab at this URL https://colab.research.google.com/github/CSAILVision/semantic-segmentation-pytorch/blob/master/notebooks/DemoSegmenter.ipynb"
1515
]
1616
},
1717
{
@@ -34,8 +34,8 @@
3434
"!(stat -t /usr/local/lib/*/dist-packages/google/colab > /dev/null 2>&1) && exit \n",
3535
"pip install yacs 2>&1 >> install.log\n",
3636
"git init 2>&1 >> install.log\n",
37-
"git remote add origin https://github.com/davidbau/semantic-segmentation-pytorch.git 2>> install.log\n",
38-
"git pull origin tutorial 2>&1 >> install.log\n",
37+
"git remote add origin https://github.com/CSAILVision/semantic-segmentation-pytorch.git 2>> install.log\n",
38+
"git pull origin master 2>&1 >> install.log\n",
3939
"DOWNLOAD_ONLY=1 ./demo_test.sh 2>> install.log"
4040
]
4141
},
@@ -157,7 +157,7 @@
157157
"\n",
158158
"The segmentation model is coded as a function that takes a dictionary as input, because it wants to know both the input batch image data as well as the desired output segmentation resolution. We ask for full resolution output.\n",
159159
"\n",
160-
"Then we use the previously-defined visualize_result function to render the semgnatioon map."
160+
"Then we use the previously-defined visualize_result function to render the segmentation map."
161161
]
162162
},
163163
{

notebooks/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Semantic Segmentation Demo
2+
==========================
3+
4+
This directory contains a notebook for demonstrating the benchmark
5+
semantic segmentation network from the the ADE20K MIT Scene Parsing
6+
Benchchmark.
7+
8+
It can be run on Colab at
9+
[this URL](https://colab.research.google.com/github/CSAILVision/semantic-segmentation-pytorch/blob/master/notebooks/DemoSegmenter.ipynb)
10+
or on a local Jupyter notebook.
11+
12+
If running locally, run the script `setup_notebooks.sh` to start.

0 commit comments

Comments
 (0)