Home

Awesome

CoBRa

The is the github page for ECCV submission ``Learning Counterfactual Thoughts for Bias-Robust Vision-Language Reasoning''

Updates

  1. Inital Update [2024/03/06]

Dataset Download

Updated onQuestions and AnnotationsFiguresQuestion CountFigure Count
Mar 06, 2024CoBRa.csvCoBRa.zip6460414151

Environment Setup

The following softwares are needed

  1. Python >= 3.8
  2. Cuda >= 11.3
  3. Pytorch >= 12.0
  4. numpy, pyyaml, openai, opencv-python, pillow, tqdm, transformers

CoCT

Train the TLM

The code is developped on top of implementations of ``TLM''. Please check the repo for MLM+TLM parameters

python train_TLM.py

Prompt the LVLMs

check ./scripts