diff --git a/docs/source/guide/explanation/additional_features/auto_configuration.rst b/docs/source/guide/explanation/additional_features/auto_configuration.rst index 69b32974bab..e4a59cbe8e6 100644 --- a/docs/source/guide/explanation/additional_features/auto_configuration.rst +++ b/docs/source/guide/explanation/additional_features/auto_configuration.rst @@ -84,13 +84,16 @@ To use this feature, add the following parameter: .. code-block:: python - Need to update! + from otx.engine import Engine + + engine = Engine(data_root="") + engine.train(adaptive_bs="Safe") .. tab-item:: CLI .. code-block:: bash - Need to update! + (otx) ...$ otx train ... --adaptive_bs Safe 2. Find the maximum executable batch size (`Full` mode) @@ -107,13 +110,16 @@ To use this feature, add the following parameter: .. code-block:: python - Need to update! + from otx.engine import Engine + + engine = Engine(data_root="") + engine.train(adaptive_bs="Full") .. tab-item:: CLI .. code-block:: bash - Need to update! + (otx) ...$ otx train ... --adaptive_bs Full .. Warning::