The repository is used to train a drivable-area-segmentation model with deeplabv3+, and the trained model can inference with libtorch. The repository is based on deeplabs and Person_Segmentation.
Please prepare dataset under the data directory. You can download from link:https://pan.baidu.com/s/1NT5-Ldo0kYIfCcUbkq0xEA password:76bi
python hand_seg.py
Please download pretrained model under the weights directory. Link:https://pan.baidu.com/s/1l78GrdJ8FoghqfzGGw0Kng password:vm33
python train.py
You download the trained model from link(https://pan.baidu.com/s/1rnOtdmewT-oho-cU6bLluw password:djue) and place it under the weights directory. The test samples are under the samples directory, and inferece results are under the results directory.
python inference.py
python generate_half_model.py
cd LibtorchSegmentation/build
cmake ..
make
./drive