From 8878c88a49e317d7e3d475f0d1ca04aeb5af3d15 Mon Sep 17 00:00:00 2001 From: Martijn Maas Date: Thu, 14 Dec 2023 13:37:32 +0100 Subject: [PATCH] Update README on overriding lists --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index eeb0ba3..f817c49 100644 --- a/README.md +++ b/README.md @@ -308,6 +308,7 @@ python run.py \ [--opts OPTS [OPTS ...]] ``` The optional arguments are shown using square brackets. The final parameter `--opts` allows you to change values specified in the config files. For example, `--opts SOLVER.IMS_PER_BATCH 8` sets the batch size to 8. +List values have to be overridden by encapsulating the whole list with quotes like `--opts PREPROCESS.REGION.RECTANGLE_REGIONS '["Photo"]'` An example of how to call the `run.py` command is given below: