Skip to content

Commit

Permalink
Fix repo name, and add README.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbau committed Aug 21, 2020
1 parent e494c00 commit 76e6253
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
10 changes: 5 additions & 5 deletions notebooks/DemoSegmenter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"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",
"\n",
"The code for this notebook is available here\n",
"https://github.com/davidbau/semantic-segmentation-pytorch/tree/tutorial/notebooks\n",
"https://github.com/CSAILVision/semantic-segmentation-pytorch/tree/master/notebooks\n",
"\n",
"It can be run on Colab at this URL https://colab.research.google.com/github/davidbau/semantic-segmentation-pytorch/blob/tutorial/notebooks/DemoSegmenter.ipynb"
"It can be run on Colab at this URL https://colab.research.google.com/github/CSAILVision/semantic-segmentation-pytorch/blob/master/notebooks/DemoSegmenter.ipynb"
]
},
{
Expand All @@ -34,8 +34,8 @@
"!(stat -t /usr/local/lib/*/dist-packages/google/colab > /dev/null 2>&1) && exit \n",
"pip install yacs 2>&1 >> install.log\n",
"git init 2>&1 >> install.log\n",
"git remote add origin https://github.com/davidbau/semantic-segmentation-pytorch.git 2>> install.log\n",
"git pull origin tutorial 2>&1 >> install.log\n",
"git remote add origin https://github.com/CSAILVision/semantic-segmentation-pytorch.git 2>> install.log\n",
"git pull origin master 2>&1 >> install.log\n",
"DOWNLOAD_ONLY=1 ./demo_test.sh 2>> install.log"
]
},
Expand Down Expand Up @@ -157,7 +157,7 @@
"\n",
"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",
"\n",
"Then we use the previously-defined visualize_result function to render the semgnatioon map."
"Then we use the previously-defined visualize_result function to render the segmentation map."
]
},
{
Expand Down
12 changes: 12 additions & 0 deletions notebooks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Semantic Segmentation Demo
==========================

This directory contains a notebook for demonstrating the benchmark
semantic segmentation network from the the ADE20K MIT Scene Parsing
Benchchmark.

It can be run on Colab at
[this URL](https://colab.research.google.com/github/CSAILVision/semantic-segmentation-pytorch/blob/master/notebooks/DemoSegmenter.ipynb)
or on a local Jupyter notebook.

If running locally, run the script `setup_notebooks.sh` to start.

0 comments on commit 76e6253

Please sign in to comment.