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

How to implement fixed encoder? #1

Open
Heisenberg-Don opened this issue Aug 16, 2024 · 3 comments
Open

How to implement fixed encoder? #1

Heisenberg-Don opened this issue Aug 16, 2024 · 3 comments

Comments

@Heisenberg-Don
Copy link

Interesting work!

How did you freeze the encoders? I can't determine which part of your implementation handles this operation.

@Heisenberg-Don
Copy link
Author

BTW, could you share the 5-degradation dataset settings?

@toummHus
Copy link
Owner

Thanks for your interest.
The code "nn.Sequential(*[TransformerBlock ...])" will produce a fixed encoder layer and "HyLevel(...)" produces a dynamical layer. The word "fixed" in the paper means that the weights of this module is fixed during inference.

For the 5-degradation setting, you can refer the code of IDR. And maybe we will upload this in the new version.

@toummHus
Copy link
Owner

In addition, all the classes with a prefix of "Hy" like "HyConv2d" are dynamical during inference. We will add detailed comments in a future release.

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