Software Open Access

Julia codes for "Predictive online optimisation with applications to optical flow"

Valkonen, Tuomo

Julia codes for “Predictive online optimisation with applications to optical flow”

These are the Julia codes for the optical flow experiments of the manuscript “Predictive online optimisation with applications to optical flow” by Tuomo Valkonen (arXiv:2002.03053).

Prerequisites

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.

Using

Navigate your unix shell to the directory containing this README.md and then run:

$ julia --project=PredictPDPS

The first time doing this, to ensure all the dependencies are installed, run

$ ]instantiate

Afterwards in the Julia shell, type:

> using PredictPDPS

This may take a while as Julia precompiles the code. Then, to generate all the experiments in the manuscript, run:

> batchrun_article()

This will save the results under img/. To see the experiments running visually, and not save the results, run

> demo_known1()

or any of demo_XY(), where X=1,2,3 and Y=known,unknown. Further parameters and experiments are available via run_experiments. See the source code for details.

To run the data generation multi-threadeadly parallel to the algorithm, set the JULIA_NUM_THREADS environment variable to a number larger than one.

Files (48.7 kB)
Name Size
predict-zenodo-v1.zip
md5:09fec85235a289ad10fe337098f2c1f3
48.7 kB Download
34
0
views
downloads
All versions This version
Views 3434
Downloads 00
Data volume 0 Bytes0 Bytes
Unique views 2525
Unique downloads 00

Share

Cite as