Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latent-Refusion v.s. Refusion #85

Open
LeeMuxian opened this issue May 6, 2024 · 3 comments
Open

Latent-Refusion v.s. Refusion #85

LeeMuxian opened this issue May 6, 2024 · 3 comments

Comments

@LeeMuxian
Copy link

LeeMuxian commented May 6, 2024

Hi,
I've only seen the code for refusion but no code for latent-refusion. Are there the codes for latent-refusion and the latent-refusion pretrained model in this package?
Also, I have no idea about the model architecture of latent-refusion. Is latent-refusion just pretrained autoencoder + NAFNet?
On the other hand, I mainly want to focus on deblurring application, but there is only ir-sde pretrained model and no refusion pretrained model for deblurring in this package.

Thanks.

@Algolzw
Copy link
Owner

Algolzw commented May 7, 2024

Hi, the latent-refusion code is the latent-unet. If you want to perform latent-refusion on the deblurring task, you need to pretrain the latent-unet (U-Net autoencoder) on your dataset. Please refer to the latent-dehazing for more details.

@LeeMuxian
Copy link
Author

Are both the training flow and inference flow of the latent-unet for deblurring application the same as latent-unet for dehazing?
That is to say for deblurring, do we need to compute latent_lq, latent_gt, hidden_lq, and hidden_gt?
But here is a question, when performing inference without ground truth (since actual deblur has no ground truth), how should I perform latent-unet testing?

Thanks.

@Algolzw
Copy link
Owner

Algolzw commented May 7, 2024

In inference, we don't need the latent_gt and hidden_gt, you can just set them to None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants