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

Tutorial 'Bayesian Neural Network' Errors on Published Site: StatefulLuxLayer not defined #531

Closed
patrickm663 opened this issue Oct 8, 2024 · 3 comments · Fixed by #532

Comments

@patrickm663
Copy link

Hi

I have noticed the output in the BNN tutorial is erroring out as soon as StatefulLuxLayer is introduced:

image

This impacts v0.34.

Regards
Patrick

@penelopeysm
Copy link
Member

Hi @patrickm663 thanks for reporting! Ahh, #529 was supposed to have fixed uncaught errors like these, but I think what happened was that Quarto cached the results and didn't rerun them when that PR was merged. Anyway, I'll look into this one.

@penelopeysm
Copy link
Member

penelopeysm commented Oct 8, 2024

The correct invocation for this line should be

const nn = StatefulLuxLayer{true}(nn_initial, nothing, st)

I've tested on Julia 1.10.5, macOS, [email protected], [email protected] and the code runs fine. I can't get it to work via Quarto yet (and I have no idea why) It works now, just need to deploy, but just thought to post in case this is holding you up.

@patrickm663
Copy link
Author

Thanks very much for your help!

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

Successfully merging a pull request may close this issue.

2 participants