This project aims at providing a re-implement of bisenet by using tensorflow.
-
tensorflow-gpu >=1.5.0
-
cv2
-
sacred
-
pip install tensorflow-gpu==1.5.0
-
pip install sacred
-
pip install opencv-python
#Optional: Install nvidia-ml-py for automatically selecting GPU
- #pip install nvidia-ml-py
You can simply run train.py by default hyper-parameter, or modify the hyper-parameter in configuration.py by yourself first.
- If you have trained this model by yourself, you can simply run test.py, and then view the result by using tensorboard. And you can predict one picture that have spcified in the example dir by simply run predict.py, then the predict will be saved in the example dir too.
- If you just want to test and predict this model trained by me. You should do things as follow:
- cd bisenet-tensorflow
- mkdir -p Logs/bisenet/checkpoints/bisenet-v2
- download the model in this link (will update soon) and realse them in the dir that have created
- then you can run test.py or predict.py
Please consider citing the BiSeNet in your publications if it helps your research.
@inproceedings{yu2018bisenet, title={Bisenet: Bilateral segmentation network for real-time semantic segmentation}, author={Yu, Changqian and Wang, Jingbo and Peng, Chao and Gao, Changxin and Yu, Gang and Sang, Nong}, booktitle={European Conference on Computer Vision}, pages={334--349}, year={2018}, organization={Springer} }