-
Notifications
You must be signed in to change notification settings - Fork 51
add Pluto tutorials #172
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
add Pluto tutorials #172
Conversation
Codecov Report
@@ Coverage Diff @@
## master #172 +/- ##
==========================================
+ Coverage 85.33% 86.01% +0.68%
==========================================
Files 15 15
Lines 1316 1323 +7
==========================================
+ Hits 1123 1138 +15
+ Misses 193 185 -8
Continue to review full report at Codecov.
|
There are some problems that I don't understand in the github action compiling the pluto notebooks. I'll leave them out for the time being and solve in a followup PR |
Cool to see that you're going to use PlutoStaticHTML. Let's get it working You have set use_distributed=false From the PlutoStaticHTML docs:
So, you can fix it in two ways. The first option is to explicitly install the packages manually. So, something like: begin
using Pkg
Pkg.activate(; temp=true)
packages = [
PackageSpec(; path=dirname(dirname(@__DIR__))),
PackageSpec(; name="Flux", version="0.13")
[...]
]
Pkg.add(packages)
end begin
using GraphNeuralNetworks
using Flux
...
end I would personally do this because it is very explicit and therefore easy to maintain. An alternative would be to set |
A step toward fixing #168.
Also adding a few utilities
Graphs.Graph(::GNNGraph)
conversionhas_isolated_nodes(g)
to_unidirected(g)
which removes the reves edges and can be useful for plotting an undirected graph which is bidirected as an undirected one.