IsHYuhi / ST-CGAN_Stacked_Conditional_Generative_Adversarial_Networks

Unofficial implementation of ''Stacked Conditional Generative Adversarial Networks for Jointly Learning Shadow Detection and Shadow Removal'' with PyTorch
67 stars 15 forks source link

about detach() in 220th and 228th line #17

Closed Leixiujie closed 2 years ago

Leixiujie commented 2 years ago

In the usage phase of the discriminators, shall we use the detach() in our model? Whether it makes the GAN lose its function?

IsHYuhi commented 2 years ago

I’m sorry for the delayed response.

Can you give me some more details about the situation? If you are still having problems, please open this issue again.

Thanks.