diff --git a/README.md b/README.md index 695acab7569ecf1f2f4aa9af8fdb140e51218c43..664e64511ad772cad4378f4a8ba1386efbb60268 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 5c0f6dc638fda252e148b284f0492cc1d40ae336..60df51485aeb706c1361949de27c91492bd0c94c 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