Skip to content

Commit

Permalink
Fix command path in docs (#109)
Browse files Browse the repository at this point in the history
* fix command path

* fix bash -> python
  • Loading branch information
Taichi Nishimura authored Mar 3, 2023
1 parent 3b8df58 commit 9d66fdd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/tutorial.configs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To replicate the experiments, just run these bash scripts. For example, to train

.. code-block::
bash run_scripts/lavis/blip/train/train_retrieval_coco.sh
bash run_scripts/blip/train/train_retrieval_coco.sh
Inside the scripts, we can see

Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial.evaluation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ most of the public dataset, to download MSCOCO dataset, simply run

.. code-block:: bash
cd lavis/datasets/download_scripts && bash download_coco.py
cd lavis/datasets/download_scripts && python download_coco.py
This will put the downloaded dataset at a default cache location ``cache`` used by LAVIS.

Expand All @@ -31,10 +31,10 @@ To evaluate pre-trained model, simply run

.. code-block:: bash
bash run_scripts/lavis/blip/eval/eval_coco_cap.sh
bash run_scripts/blip/eval/eval_coco_cap.sh
Or to evaluate a large model:

.. code-block:: bash
bash run_scripts/lavis/blip/eval/eval_coco_cap_large.sh
bash run_scripts/blip/eval/eval_coco_cap_large.sh
4 changes: 2 additions & 2 deletions docs/tutorial.training-example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To finetune the model, we have prepared a run script for you, which can run as f

.. code-block:: bash
bash run_scripts/lavis/blip/train/train_caption_coco_large.sh
bash run_scripts/blip/train/train_caption_coco_large.sh
This will finetune the pre-trained BLIP large model into a new model that can be used for captioning.

Expand Down Expand Up @@ -142,4 +142,4 @@ Here we specify runner-related arguments, including
Available Configurations
#########################

See :ref:`config` for the full list of available configurations and their descriptions.
See :ref:`config` for the full list of available configurations and their descriptions.

0 comments on commit 9d66fdd

Please sign in to comment.