bcmi / PHDNet-Painterly-Image-Harmonization

[AAAI 2023] Painterly image harmonization in both spatial domain and frequency domain.
50 stars 3 forks source link

downsample method comes from where #11

Open PigsHammer opened 9 months ago

PigsHammer commented 9 months ago

Hello, may I ask which part of the code DAT for Paintery Image Harmonization in Dual Domains in the paper comes from or inherits the downsample method in DAT's networks.py? I couldn't find the answer in the code. If you are willing to answer, I would greatly appreciate it.

cjy-4 commented 6 months ago

Thanks for your attention. Do you mean this function? https://github.com/bcmi/PHDNet-Painterly-Image-Harmonization/blob/7cd1ee7f486e7489929c9c2d0e4588e0f50b075e/PHDNet/models/networks.py#L652-L655