This demo allows you to try out semantic segmentation on a couple of preset images using different base models.
Run yarn in the root and 'deeplab' folder to install dependencies.
Run yarn build-npm in the 'deeplab' folder.
Change the directory to the demo folder:
cd deeplab/demoInstall dependencies:
yarnLaunch the development server watching the files for changes.
yarn watchWarning: Running the Cityscapes model in the demo is resource-intensive and might crash your browser.
If you are developing the model locally and want to test the changes in the demo, proceed as follows:
cd deeplabyarnyarn publish-localcd demo
yarnyarn link-localyarn watchNote: To get future updates from the deeplab source code, just run yarn publish-local in the deeplab folder again.