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

Fix documentation build cache corruption #224

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buildkite/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
command: |
git remote set-branches origin 'gh-pages'
git fetch --depth=1 origin gh-pages
julia --project -e '
julia --project=docs --compiled-modules=no -e '
println("--- :julia: Instantiating project")
using Pkg
Pkg.instantiate()
Expand Down
4 changes: 2 additions & 2 deletions docs/src/showcase/pinngpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ callback = function (p, l)
return false
end

res = Optimization.solve(prob, Adam(0.01); callback = callback, maxiters = 2500);
res = Optimization.solve(prob, Adam(0.01); callback = callback, maxiters = 500);
```

We then use the `remake` function to rebuild the PDE problem to start a new
optimization at the optimized parameters, and continue with a lower learning rate:

```@example pinn
prob = remake(prob, u0 = res.u)
res = Optimization.solve(prob, Adam(0.001); callback = callback, maxiters = 2500);
res = Optimization.solve(prob, Adam(0.001); callback = callback, maxiters = 500);
```

## Step 7: Inspect the PINN's Solution
Expand Down