update to Lux new interfave #1149
Triggered via pull request
November 25, 2023 07:11
Status
Failure
Total duration
1h 7m 50s
Artifacts
–
CI.yml
on: pull_request
Documentation
1h 7m
Matrix: test
Annotations
3 errors and 1 warning
Documentation:
../../../.julia/packages/Documenter/nQAq5/src/utilities/utilities.jl#L44
failed to run `@example` block in src/tutorials/helmholtz.md:51-70
```@example helmholtz
phi = pinn.phi
xs, ys= [infimum(d.domain):0.01:supremum(d.domain) for d in domains]
u_analytic(x,y) = sinpi(a1*x)*sinpi(a2*y)
u_real = [u_analytic(x,y) for x in xs, y in ys]
u_pred = [sum(phi(([x,y]), ps)) for x in xs, y in ys]
using CairoMakie
axis = (xlabel="x", ylabel="y", title="Analytical Solution")
fig, ax1, hm1 = heatmap(xs, ys, u_real, axis=axis)
Colorbar(fig[:, end+1], hm1)
ax2, hm2= heatmap(fig[1, end+1], xs, ys, u_pred, axis= merge(axis, (;title = "Prediction")))
Colorbar(fig[:, end+1], hm2)
ax3, hm3 = heatmap(fig[1, end+1], xs, ys, abs.(u_pred-u_real), axis= merge(axis, (;title = "Absolute Error")))
Colorbar(fig[:, end+1], hm3)
fig
save("helmholtz.png", fig); nothing # hide
```
exception =
UndefVarError: `ps` not defined
Stacktrace:
[1] (::Main.__atexample__named__helmholtz.var"#5#6")(::Tuple{Float64, Float64})
@ Main.__atexample__named__helmholtz ./none:0
[2] iterate
@ ./generator.jl:47 [inlined]
[3] collect(itr::Base.Generator{Base.Iterators.ProductIterator{Tuple{StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}, StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}}}, Main.__atexample__named__helmholtz.var"#5#6"})
@ Base ./array.jl:782
[4] top-level scope
@ helmholtz.md:58
[5] eval
@ ./boot.jl:370 [inlined]
[6] #54
@ ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:738 [inlined]
[7] cd(f::Documenter.var"#54#56"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[8] (::Documenter.var"#53#55"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:737
[9] (::IOCapture.var"#3#5"{DataType, Documenter.var"#53#55"{Documenter.Page, Module, Expr}, Task, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:119
[10] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:514
[11] with_logger
@ ./logging.jl:626 [inlined]
[12] capture(f::Documenter.var"#53#55"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool)
@ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:116
[13] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:736
|
Documentation:
../../../.julia/packages/Documenter/nQAq5/src/utilities/utilities.jl#L44
invalid local link/image: file does not exist in src/tutorials/helmholtz.md
link =
@ast MarkdownAST.Image("helmholtz.png", "") do
MarkdownAST.Text("")
end
|
Documentation
Process completed with exit code 1.
|
Documentation:
../../../.julia/packages/Documenter/nQAq5/src/utilities/utilities.jl#L46
8 docstrings not included in the manual:
Sophon.init_uniform :: Tuple{Random.AbstractRNG, Vararg{Integer}}
Sophon.sample
Sophon.init_normal :: Tuple{Random.AbstractRNG, Vararg{Integer}}
Sophon.kaiming_uniform :: Tuple{Random.AbstractRNG, Vararg{Integer}}
Sophon.PDESystem
Sophon.wu :: Union{Tuple{Any}, Tuple{Any, Any}}
Sophon.kaiming_normal :: Tuple{Random.AbstractRNG, Vararg{Integer}}
Sophon.forwarddiff :: NTuple{5, Any}
These are docstrings in the checked modules (configured with the modules keyword)
that are not included in canonical @docs or @autodocs blocks.
|