diff options
Diffstat (limited to 'src/training/prepare_experiments.py')
-rw-r--r-- | src/training/prepare_experiments.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/training/prepare_experiments.py b/src/training/prepare_experiments.py index 5a665b3..97c0304 100644 --- a/src/training/prepare_experiments.py +++ b/src/training/prepare_experiments.py @@ -16,19 +16,8 @@ def run_experiments(experiments_filename: str) -> None: for index in range(num_experiments): experiment_config = experiments_config["experiments"][index] experiment_config["experiment_group"] = experiments_config["experiment_group"] - cmd = f"poetry run run-experiment --gpu=-1 --save --experiment_config={json.dumps(experiment_config)}" + cmd = f"python training/run_experiment.py --gpu=-1 --save --experiment_config='{json.dumps(experiment_config)}'" print(cmd) - run( - [ - "poetry", - "run", - "run-experiment", - "--gpu=-1", - "--save", - f"--experiment_config={json.dumps(experiment_config)}", - ], - check=True, - ) @click.command() |