interfacegan
interfacegan copied to clipboard
AttributeError: module 'tensorflow' has no attribute 'get_variable'
Hello,
I am trying to implement your code but I keep getting this error despite changing all 'tf.' functions to 'tf.compat.v1.'
I solved couple of no module error but I cannot find this one anywhere in the .py files. Is it something happens upon loading the model?
Thank you in advance for your help :)
Yes I met this issue before. It turned out that I did not load the correct pretrained model (.pth file). I put the .pth file in the pretrain folder as below and the issue was solved. Hope this could help.
@Evelyn92 Could you kindly either upload the "stylegan_celebahq.pth" file, or provide me with a link to download it?