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

e #89

Closed
danielsoy opened this issue Jan 27, 2022 · 4 comments · Fixed by #174 or #201
Closed

e #89

danielsoy opened this issue Jan 27, 2022 · 4 comments · Fixed by #174 or #201
Assignees
Labels
Enhancement New feature or request Model
Milestone

Comments

@danielsoy
Copy link

Hey There!

Who can help me to modify : all_in_one_block.py script
to avoid this warning, to happen:

C:\Users\libro\AppData\Local\Programs\Python\Python38\lib\site-packages\FrEIA\modules\all_in_one_block.py:123: UserWarning: Soft permutation will take a very long time to initialize with 2048 feature channels. Consider using hard permutation instead.
warnings.warn(("Soft permutation will take a very long time to initialize "

I would like to switch to hard permutation mode, but i dont know how to do it.

Thank you so much.

@alexriedel1
Copy link
Contributor

It's defined in the CFlow Backbone

permute_soft=True,

@samet-akcay
Copy link
Contributor

samet-akcay commented Jan 28, 2022

We could maybe set this as a configurable parameter here?

self.decoders = nn.ModuleList(

@blakshma can you comment on this?

@danielsoy
Copy link
Author

It worked! Thanks again.

@blakshma
Copy link
Contributor

@samet-akcay - sure. will create a parameter in config file and move it to there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment