From f81bf2bfaaf311aa32b9040af97e1727a440e6a6 Mon Sep 17 00:00:00 2001 From: pat-alt <altmeyerpat@gmail.com> Date: Fri, 1 Sep 2023 12:12:45 +0200 Subject: [PATCH] minor things --- README.md | 4 ++-- experiments/experiment.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 695acab7..664e6451 100644 --- a/README.md +++ b/README.md @@ -59,11 +59,11 @@ julia experiments/run_experiments.jl -- run-all Pre-trained versions of all of our black-box models have been archived as `Pkg` [artifacts](https://pkgdocs.julialang.org/v1/artifacts/) and are used by default. Should you wish to retrain the models as well, simply use the `retrain` flag as follows: ```shell -julia --project=experiments experiments/run_experiments.jl -- retrain dataname=linearly_separable +julia --project=experiments experiments/run_experiments.jl -- retrain data=linearly_separable ``` ```shell -mpiexecjl --project=experiments -n 4 julia experiments/run_experiments.jl -- dataname=linearly_separable output_path=results parallel +mpiexecjl --project=experiments -n 4 julia experiments/run_experiments.jl -- data=linearly_separable output_path=results parallel ``` When running the experiments from the command line, the parameter choices used in the main paper are applied by default. To have control over these choices, we recommend you instead rely on the notebooks. diff --git a/experiments/experiment.jl b/experiments/experiment.jl index 5c0f6dc6..60df5148 100644 --- a/experiments/experiment.jl +++ b/experiments/experiment.jl @@ -66,7 +66,7 @@ function run_experiment(exp::Experiment; save_output::Bool=true) if save_output Serialization.serialize(joinpath(exp.output_path, "$(exp.save_name)_outcome.jls"), outcome) Serialization.serialize(joinpath(exp.output_path, "$(exp.save_name)_bmk.jls"), bmk) - meta(outcome::ExperimentOutcome; save_output::Bool=true) + meta(outcome; save_output=true) end return outcome -- GitLab