mmsegmentation icon indicating copy to clipboard operation
mmsegmentation copied to clipboard

How to get RGB result rather Gray Image on ADE20k val set

Open HaoGuo98 opened this issue 2 years ago • 6 comments

how to get RGB Image rather Gray Image on ADE20k val set?

HaoGuo98 avatar Jul 30 '22 13:07 HaoGuo98

Hi @HaoGuo98, You might add --show-dir argument to the test command. https://mmsegmentation.readthedocs.io/en/latest/inference.html#test-a-dataset

xiexinch avatar Aug 01 '22 10:08 xiexinch

./tools/dist_test.sh configs/dnlnet/dnlnet_r101-d8_512x512_80k_ade20k.py work_dirs/dnl_ade.pth 4 --show-dir ade_test I try to use this command but the picture cannot be saved.

HaoGuo98 avatar Aug 01 '22 15:08 HaoGuo98

Could you show me a command which can generate RGB results on val set of ADE20K? Many thanks!

HaoGuo98 avatar Aug 01 '22 19:08 HaoGuo98

We specify in the document that --show-dir only supports the Single GPU test, you could try it again with a single GPU.

python tools/test.py configs/dnlnet/dnlnet_r101-d8_512x512_80k_ade20k.py work_dirs/dnl_ade.pth --show-dir ade_test

xiexinch avatar Aug 02 '22 11:08 xiexinch

image the bar do not move.

HaoGuo98 avatar Aug 02 '22 11:08 HaoGuo98

Should i fix the warning?

HaoGuo98 avatar Aug 02 '22 11:08 HaoGuo98

We specify in the document that --show-dir only supports the Single GPU test, you could try it again with a single GPU.

python tools/test.py configs/dnlnet/dnlnet_r101-d8_512x512_80k_ade20k.py work_dirs/dnl_ade.pth --show-dir ade_test

Hi @HaoGuo98, Is that work?

xiexinch avatar Aug 15 '22 09:08 xiexinch