GuHuangAI / DiffusionEdge

Code for AAAI 2024 paper: "DiffusionEdge: Diffusion Probabilistic Model for Crisp Edge Detection"
Apache License 2.0
190 stars 18 forks source link

two FFt? #14

Open dw1360585641 opened 4 months ago

dw1360585641 commented 4 months ago

Why are two FFTs used in the model? Are there any differences in their output results? Why do we need to input the decoder together? Which package and line is FFT in the code file?

GuHuangAI commented 4 months ago

The model outputs the z0 and noise simultaneously, so there are two FFTs. The FFT module is here

Billy-ZTB commented 2 months ago

The model outputs the z0 and noise simultaneously, so there are two FFTs. The FFT module is here

Hello! I have a question to consult. If we don't add noise to the image, would the FFT module be able to filter out non-edge parts ? As edges are high frequency parts of images, I am guessing this FFT module would learn to filter out those low frequency parts to get edges.