Picsart-AI-Research / SeMask-Segmentation

[NIVT Workshop @ ICCV 2023] SeMask: Semantically Masked Transformers for Semantic Segmentation
https://arxiv.org/abs/2112.12782
Other
251 stars 36 forks source link

Strange sem-seg resutls #23

Closed Shawn207 closed 2 years ago

Shawn207 commented 2 years ago

Hi there! I am trying to test on SeMask-FAPN, by calling: python demo.py --config-file ../configs/ade20k/semantic-segmentation/semask_swin/fapn_maskformer2_semask_swin_large_IN21k_384_bs16_160k_res640.yaml --input /workspace/SeMask-Segmentation/images/ADE_val_00001001.jpg --output /workspace/SeMask-Segmentation/output/ --opts MODEL.WEIGHTS /workspace/SeMask-Segmentation/checkpoints/semask_large_mask2former_fapn_ade20k.pth and I downloaded pre-trained model from https://drive.google.com/file/d/1DQ9KltSLDj47H2jYnCtVwyBf7KPR9SM_/view The result is here: adetest

That doesn't make sense. Do you have any idea about where I got things wrong? Thank you!

praeclarumjj3 commented 2 years ago

Hi, have you tried testing the SeMask-MsFaPN with its corresponding config file? If that works, the problem would be with the FaPN network, and we will know where to look for issues.

Shawn207 commented 2 years ago

Hi, have you tried testing the SeMask-MsFaPN with its corresponding config file? If that works, the problem would be with the FaPN network, and we will know where to look for issues.

Yeah the MS version works fine

Shawn207 commented 2 years ago

Hi, have you tried testing the SeMask-MsFaPN with its corresponding config file? If that works, the problem would be with the FaPN network, and we will know where to look for issues.

Hi, could you please let me know if the issue was figured out? Thanks

praeclarumjj3 commented 2 years ago

Hi, I have been busy lately so I couldn't look for the possible problem. I will let you know when I take a look at it.

Shawn207 commented 2 years ago

Hi, I have been busy lately so I couldn't look for the possible problem. I will let you know when I take a look at it.

Okay, I understand. Thanks

praeclarumjj3 commented 2 years ago

Hi @Shawn207, sorry for the delay. I have updated the checkpoints. Could you try again?

praeclarumjj3 commented 2 years ago

I am closing this issue since the demo works fine for me now. Feel free to reopen if you face any more problems.