taey16 / pix2pixBEGAN.pytorch

A pytorch implementation of pix2pix + BEGAN (Boundary Equilibrium Generative Adversarial Networks)
183 stars 36 forks source link

raise KeyError("module name can't contain \".\"") #7

Open carol007 opened 6 years ago

carol007 commented 6 years ago

image when i follow the step to start my train, I find and modify this error : if lambdaIMG<>0, however, the following errors become more complex: image

how can I prove it ,Sir?

abi98213 commented 5 years ago

Just go to Models/pix2pixBEGAN.py and rename all modules from

  "%s.relu" or "%s.leakyrelu" to "%s_relu" and "%s_leakyrelu" 

it will solve the issue. And for

    **<>** replace it with **!=**