sacmehta / ESPNet

ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation
https://sacmehta.github.io/ESPNet/
MIT License
541 stars 112 forks source link

The segmentation mask overlayed on the image is gray not colored #86

Open Nouran-Muhammad opened 1 year ago

Nouran-Muhammad commented 1 year ago

Hello, I cloned the repo and for the purpose of testing i ran the python command: python VisualizeResults.py --p 2 --q 3 to see the segmented output. The output is in gray scale not colored although the colored arg is True and the overlay is True. The cv2.imwrite() for the colored and overlayed options are not working.

This is the output for 2 images image