---
# System prepended metadata

title: GenVQA

---

# GenVQA 

## 2019-10-21

First download this in `logs/genvqa/vqa2`
https://drive.google.com/file/d/1nX_l_VByzCx1T-7piy_D5iGXyRp-ngI5/view?usp=sharing

```bash
git pull
```

### Main process:
```bash
sbatch --mem=128GB \
--cpus-per-task=4 \
--gres=gpu:1 \
--time=1800 \
--partition=dev \
--comment="genvqa.bootstrap.pytorch" \
--output="%j.out" \
--error="%j.err" \
--wrap="cd doc/genvqa.bootstrap.pytorch;
python -m bootstrap.run \
-o logs/genvqa/vqa2/2019-10-01_pythia_da_ckpt_gen_2019-10-20_holdout_type_V_all/options.yaml \
--exp.resume last \
--model.network.generator.qg.sampling.process_id 0 \
--model.network.generator.qg.sampling.nb_process 8
"
```

```bash
tail logs/genvqa/vqa2/2019-10-01_pythia_da_ckpt_gen_2019-10-20_holdout_type_V_all/logs.txt
```

### Other processes:

```bash
for pid in {1..7..1}
do
sbatch --mem=128GB \
--cpus-per-task=4 \
--gres=gpu:1 \
--time=1800 \
--partition=dev \
--comment="genvqa.bootstrap.pytorch" \
--output="%j.out" \
--error="%j.err" \
--wrap="cd doc/genvqa.bootstrap.pytorch;
python -m bootstrap.run \
-o logs/genvqa/vqa2/2019-10-01_pythia_da_ckpt_gen_2019-10-20_holdout_type_V_all/options.yaml \
--exp.resume last \
--engine.nb_epochs 41 \
--model.network.generator.qg.sampling.process_id $pid \
--model.network.generator.qg.sampling.nb_process 8 \
--misc.logs_name process_id,$pid-8
"
done
```

```bash
for pid in {1..7..1}
do
tail logs/genvqa/vqa2/2019-10-01_pythia_da_ckpt_gen_2019-10-20_holdout_type_V_all/logs_process_id,$pid-8.txt
done
```


Outputs:
```bash
logs/genvqa/vqa2/2019-10-01_pythia_da_ckpt_gen_2019-10-20_holdout_type_V_all/

logs*.txt
logs*.json
view.html
```


AG(image) = answer
iVQA(image, answer) = question


