The model is not detecting the actual shadow.
It only detect dark colors as shadow in the input images during Testing using test.py and ST-CGAN_G2_1500.pth weights.
I wondered, if this model actually work as shown in your GitHub Repository. But I really appreciate your work.
I was run your code on Google Colab.