C3L: Content Correlated Vision-Language Instruction Tuning Data Generation via Contrastive Learning
Following standard LLava repository as below:
If you are not using Linux, do NOT proceed, see instructions for macOS and Windows.
- Clone our repository and navigate to LLaVA folder
git clone https://github.com/haotian-liu/LLaVA.git
cd LLaVA
- Install Package
conda create -n llava python=3.10 -y
conda activate llava
pip install --upgrade pip # enable PEP 660 support
pip install -e .
- Install additional packages for training cases
pip install -e ".[train]"
pip install flash-attn --no-build-isolation
Following standard MiniGPT-4 repository as below:
Git clone our repository and cd MiniGPT-4 folder, creating a python environment and activate it via the following command
git clone https://github.com/Vision-CAIR/MiniGPT-4.git
cd MiniGPT-4
conda env create -f environment.yml
conda activate minigptv