ViTGAN icon indicating copy to clipboard operation
ViTGAN copied to clipboard

Hi, can the code run probably?

Open Corleone-Huang opened this issue 3 years ago • 7 comments

Corleone-Huang avatar Jul 19 '21 01:07 Corleone-Huang

I can run it, but it doesn't work,Did you solve it?

kelsey-du avatar Jul 25 '21 15:07 kelsey-du

I can run it, but it doesn't work,Did you solve it?

No, it does not work for me either.

Corleone-Huang avatar Jul 26 '21 01:07 Corleone-Huang

I also found this problem. I'm try to solve it .

wilile26811249 avatar Jul 27 '21 09:07 wilile26811249

I am also looking forward to this code being updated.

I have tried several modifications, such as applying deeper MLPs with patch outputs and positional embedding, they didn't work.

outputs :

image image

patches are the same. are there any suggestions? it would be very grateful.

KyonP avatar Oct 14 '21 03:10 KyonP

can't converge at all

CodePothunter avatar Nov 11 '21 06:11 CodePothunter

Hi, it seems there is a bug in the L2 Attention module.

The weights of the projection matrices for query and key in L2 Attention should be tied (same weights). Otherwise, the Lipschitzness cannot be guaranteed. This is missed in the code.

Hope it could help. :-)

maysonma avatar Jun 08 '22 16:06 maysonma

Hi, it seems there is a bug in the L2 Attention module.

The weights of the projection matrices for query and key in L2 Attention should be tied (same weights). Otherwise, the Lipschitzness cannot be guaranteed. This is missed in the code.

Hope it could help. :-)

Excuse me, big shots, did the code run successfully? How to run it?

wgqa avatar May 04 '23 17:05 wgqa