-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial
Keisuke Okumura edited this page Jun 16, 2022
·
3 revisions
- Install Julia (≥v1.7).
- Clone this repo.
- Move to the code repo and initialize the project with the following script.
julia --project=. -e 'using Pkg; Pkg.instantiate()'
Now it is ready to play with the repo.
*Do not forget pull
since I frequently update the repo
Jupyter Lab (on your browser) is started with the following script.
julia --project=. -e "using IJulia; jupyterlab()"
Open notebooks/toy-example.ipynb
. You can see a toy example.
julia --project=. --threads=auto
> include("./scripts/eval.jl")
> @time main("./scripts/config/exp/02_sync.yaml", "instances.num=20")
You will get results in {code repo}/../data/exp/
.