Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Update VinVL_MODEL_ZOO.md non-functioning captioning script #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions VinVL_MODEL_ZOO.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Finetuned model checkpoint (w/ CIDEr optimization): [coco_captioning_base_scst.z
1) First train with cross-entropy loss (8 V100 with 16G mem):
```bash
python oscar/run_captioning.py \
--model_name_or_path pretrained_models/image_captioning/pretrained_base \
--model_name_or_path pretrained_models/image_captioning/pretrained_base/checkpoint-2000000 \
--do_train \
--do_lower_case \
--add_od_labels \
Expand Down Expand Up @@ -275,7 +275,7 @@ Finetuned model checkpoint (w/ CIDEr optimization): [coco_captioning_large_scst.
1) First train with cross-entropy loss (8 V100 with 32G mem):
```bash
python oscar/run_captioning.py \
--model_name_or_path pretrained_models/image_captioning/pretrained_large \
--model_name_or_path pretrained_models/image_captioning/pretrained_large/checkpoint-1410000 \
--do_train \
--do_lower_case \
--add_od_labels \
Expand Down Expand Up @@ -417,4 +417,4 @@ To set textb_sample_mode=2 for coco_flickr30k_gqa has the potential to emphasize
--textb_sample_mode 2 --texta_false_prob 0.25 \
--extra_dataset_file googlecc_sbu_oi_x152c4big2exp168.yaml \
--extra_textb_sample_mode 1 --extra_loss_weight 0.5
```
```