Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Commit 525bd68

Browse files
committed
readme for DoublePendulum
1 parent fea3108 commit 525bd68

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ Flux.@epochs 50 Flux.train!(loss, params(model), data, opt)
7070

7171
PDE training examples are provided in `example` folder.
7272

73-
### One-dimensional Fourier neural operator
73+
### One-dimensional Fourier Neural Operator
7474

7575
[Burgers' equation](example/Burgers)
7676

77-
### Two-dimensional with time Navier-Stokes equation
77+
### Two-dimensional Fourier Neural Operator
78+
79+
[Double Pendulum](example/DoublePendulum)
7880

7981
### Markov Neural Operator
8082

example/DoublePendulum/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Double pendulum
2+
3+
A [double pendulum](https://www.wikiwand.com/en/Double_pendulum) is a pendulum with another pendulum attached to its end.
4+
In is example, instead of learning from a well-described equation of motion,
5+
we train the model with the famous dataset provided by IBM.
6+
The equation of motion to the real experiments of double pendulum is learned by a two-dimensional Fourier neural operator.
7+
It learns to inference the next 30 steps with the given first 30 steps.
8+
The result of this example can be found [here](https://foldfelis.github.io/NeuralOperators.jl/dev/assets/notebook/double_pendulum.jl.html).
9+
10+
![](gallery/result.gif)
11+
12+
By inference the result recurrently, we can generate up to 150 steps with the first 30 initial steps.
13+
14+
Change directory to `example/DoublePendulum` and use following commend to train model:
15+
16+
```julia
17+
$ julia --proj
18+
19+
julia> using DoublePendulum; DoublePendulum.train()
20+
```

0 commit comments

Comments
 (0)