wuhuikai / FastFCN

FastFCN: Rethinking Dilated Convolution in the Backbone for Semantic Segmentation.
http://wuhuikai.me/FastFCNProject
Other
838 stars 148 forks source link

A method to get groundtruth of Pcontext with changing the test.py #70

Closed tjj1998 closed 4 years ago

tjj1998 commented 4 years ago

one can replace the origin codes in experiments/segmentation/test.py, line 82 with the following codes to get the pcontext groundtruth:

for dst, impath in zip(predicts, dst): mask = utils.get_mask_pallete(predict, args.dataset)

PS:this method may cause some problems, pls follow [https://github.com/wuhuikai/FastFCN/issues/5] for official method,