Closed FerryHuang closed 11 months ago
It seems like you completely removed the use of the AdaIN by removing the callback, so this is something you'll want to keep. But now I did noticed that I removed the use of the non-masked AdaIN during the refactor :( I'll try uploading a solution later today. Thanks for point this out :)
Sorry for the delayed response, but I have just pushed a fix for running without masked adain (i.e., running with regular adain on the entire latent codes). Hope this helps, and thanks again for pointing this out!
Thanks for your great works! I was trying to find out how AdaIn trick works in the alg and launch the run.py with setting the
use_masked_adain = False
in config. And it reportedAttributeError: 'Segmentor' object has no attribute 'self_attention_32'
at sampling step20. I corrected this line withcallback=model.get_adain_callback if cfg.use_masked_adain else None,
and the run.py finished but it seemed that the content image contributed nothing to the synthesis image. e.g. Please let me know if I overlooked any important details!