This is a repackaged version of the original RGB Road Scene Material Segmentation repository. Please refer to the original README as well.
The code is in need of refactoring, so some effort has been made to make it easier to install. After cloning the repository, run the following to install the dependencies and the codebase as a local editable package:
$> pip install -e .
Unpack the archive containing images and pretrained weights into the root directory of the repository:
$> tar -xvzf data.tar.gz
- segmentation.ipynb: an example of a generic segmentation pipeline using a pretrained SegFormer model from Huggingface. It does not identify materials, only objects of the same class.
- inference.ipynb contains an example of running the RMSNet pipeline. It should output material classes.