Deep Feature Flow for Video Semantic Segmentation
MIT License
Based on Deeplab V2
python2.7
nowsudo apt-get -y install python-tk
pip install -r requirements.txt
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
sh init.sh
to build the lib for faster-rcnnYou need to download the cityscapes data from the official webpapge and unzip the data
Put the data into data/cityscapes
, you can use soft link to set the data path as the following:
ln -s Dataset_path ./data/cityscapes
If you want to try DFF, you should download cityscapes video data and put it into data/cityscapes_video
Download pretrained resnet model flow net from Onedrive, and put the model into mode/pretrained_model/
./model/pretrained_model/resnet_v1_101-0000.params
./model/pretrained_model/flownet-0000.params
python ./experiments/deeplab/deeplab_train_test.py --cfg ./experiments/deeplab/cfgs/deeplab_resnet_v1_101_cityscapes_segmentation_base.yaml
python ./experiments/deeplab/deeplab_train_test.py --cfg ./experiments/deeplab/cfgs/deeplab_resnet_v1_101_cityscapes_segmentation_dcn.yaml
python ./experiments/deeplab_dff/deeplab_dff_train.py --cfg ./experiments/deeplab_dff/cfgs/deeplab_resnet_v1_101_cityscapes_segmentation_video.yaml
TBD
Thanks for the official deep featuere flow implementation and deeplab implementation from MSRACVER