MMGEN-FaceStylor
MMGEN-FaceStylor copied to clipboard
求解问题
我在运行quick_try.py时,出现如下报错:KeyError: 'ADAStyleGAN2Discriminator is already registered in module',经多方查找,未能解决,求助!!!
Please use English or English & Chinese for issues so that we could have broader discussion.
When I was running python file "quick_try.py",there is an error that indicates "KeyError: 'ADAStyleGAN2Discriminator is already registered in module'".I can't find a solution though I try many of them.I sincerely hope you can help me!
Hi @keys-zlc, Thx for your interest. You may pull the updated master branch of MMGen and FaceStylor, then try again.
Thanks for your help.But there is a new problem .The situation is that,my computer has not installed CUDA beacause there is not any NVIDIA Graphics card .But the program pointed out that "OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root."So I want to ask whether I can successfully running the project without CUDA or without NVIDIA Graphics card.I would appreciate it if you can reply me.
@keys-zlc hi as i known, it must istall the cuda,if you don't run the code on your own computer ,you can try Google Colab
@plyfager i have a new problem,too. i try the way you said,i set the swap layer =5, under 7, but the result do not change ,i compare new one with the former ,nothing change ,i'm confused !!!