Closed chensming closed 1 year ago
The diffused estimator provides a initial estimation of x_0, then diffuse to one specific timestep, finally reverse back.
The diffused estimator provides a initial estimation of x_0, then diffuse to one specific timestep, finally reverse back.
ok, thanks!
Hi, I am interested in your nice work, but after reading your paper, I donot understand the way how estimator work. Therefore, I read your code, and I suppose that the estimator(swinIR) is used to predict the x0 by low quality image y0, and add noise like diffusion forward process do?
https://github.com/zsyOAOA/DifFace/blob/35d91a1c029b8a910b5a66684e0b51862bbe8e34/sampler.py#L247
and https://github.com/zsyOAOA/DifFace/blob/35d91a1c029b8a910b5a66684e0b51862bbe8e34/sampler.py#L259
finally sample by ddpm https://github.com/zsyOAOA/DifFace/blob/35d91a1c029b8a910b5a66684e0b51862bbe8e34/sampler.py#L279
The script I run is as followings. Did I miss any details? ^_^