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

Flux.trainable - Handling trivial return case #39

Open
dynamic-queries opened this issue Jun 14, 2022 · 0 comments
Open

Flux.trainable - Handling trivial return case #39

dynamic-queries opened this issue Jun 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@dynamic-queries
Copy link

Issue :
From the example for the FNO, collecting parameters throws an error as such.
image

Potential cause:
In https://github.com/SciML/OperatorLearning.jl/blob/master/src/FourierLayer.jl#L55-L56 and subsequently https://github.com/FluxML/Flux.jl/blob/master/src/utils.jl#L500-L502, there is trivial Bool return that FourierLayer.jl does not handle, therefore throwing an error.

@pzimbrod pzimbrod linked a pull request Jun 24, 2022 that will close this issue
@pzimbrod pzimbrod added the bug Something isn't working label Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants