README.md

changeset 0
a55e35d20336
child 8
e4ad8f7ce671
equal deleted inserted replaced
-1:000000000000 0:a55e35d20336
1
2 # Julia codes for “Predictive online optimisation with applications to optical flow”
3
4 These are the Julia codes for the optical flow experiments of the manuscript _“Predictive online optimisation with applications to optical flow”_ by [Tuomo Valkonen](https://tuomov.iki.fi) ([arXiv:2002.03053](https://arxiv.org/abs/2002.03053)).
5
6 ## Prerequisites
7
8 These codes were written for Julia 1.3. The Julia package prequisites are from November 2019 when our experiments were run, and have not been updated to maintain the same environment we used to do the experiments in the manuscript. You may get Julia from [julialang.org](https://julialang.org/).
9
10 ## Using
11
12 Navigate your unix shell to the directory containing this `README.md` and then run:
13
14 $ julia --project=.
15
16 The first time doing this, to ensure all the dependencies are installed, run
17
18 $ ]instantiate
19
20 Afterwards in the Julia shell, type:
21
22 > using PredictPDPS
23
24 This may take a while as Julia precompiles the code. Then, to generate all the experiments in the manuscript, run:
25
26 > batchrun_article()
27
28 This will save the results under `img/`.
29 To see the experiments running visually, and not save the results, run
30
31 > demo_known1()
32
33 or any of `demo_XY()`, where `X`=1,2,3 and `Y`=`known`,`unknown`.
34 Further parameters and experiments are available via `run_experiments`. See the source code for details.
35
36 To run the data generation multi-threadeadly parallel to the algorithm, set the `JULIA_NUM_THREADS` environment variable to a number larger than one.

mercurial