Autovia is a web application for semantic segmentation of road scenes using the CityScapes dataset.
Install the Python dependencies:
pip install -r requirements.txtInstall the frontend dependencies:
cd webserver
npm installRun both the frontend and backend:
./run.shOr run them separately:
# Backend
python backend.py --model_weights_path ./weights/model-bnet-2.pth
# Frontend (in another terminal)
cd webserver
npm startTo train the model yourself, download the CityScapes dataset (requires .edu email). You only need these two files:
gtFine_trainvaltest.zip(241MB) - fine annotations for train/val/test setsleftImg8bit_trainvaltest.zip(11GB) - left 8-bit images for train/val/test sets
Extract both to ~/data/cityscapes/ and run:
python train.pyRamon Asuncion Batista, Santiago Hernandez, Warren Wang
Based on the tutorial code from talhaanwarch/youtube-tutorials.
