Views
No views yet
1conda create -n OmniCap python=3.9
2conda activate OmniCappip install -r requirements.txtpip install flash-attn --no-build-isolation./data/caption_data.yaml.bash scripts/finetune_caption_slurm.sh1CUDA_VISIBLE_DEVICES=0 python src/inference_single_image.py \
2 --model_path your_model_path \
3 --image_path your_image_path \
4 --image_type aigc 1CUDA_VISIBLE_DEVICES=0 python src/inference_single_image.py \
2 --model_path your_model_path \
3 --image_path your_image_path \
4 --image_type ocr 1
2cd VLMEvalkit
3conda create -n VLMEvalkit python=3.9
4conda activate VLMEvalkit
5pip install -e .
6
7CUDA_VISIBLE_DEVICES=0 nohup python run.py --data MMMU_DEV_VAL --model Omnicaptioner-qwen2-5-3B --verbose > output_omnicap_qwen2-5-3B_MMMU_DEV_VAL.log 2>&1 &
8CUDA_VISIBLE_DEVICES=0,1 nohup python run.py --data MMMU_DEV_VAL --model Omnicaptioner-qwen2-5-7B --verbose > output_omnicap_qwen2-5-7B_MMMU_DEV_VAL.log 2>&1 &
9CUDA_VISIBLE_DEVICES=0,1,2,3 nohup python run.py --data MMMU_DEV_VAL --model Omnicaptioner-qwen2-5-32B --verbose > output_omnicap_qwen2-5-32B_MMMU_DEV_VAL.log 2>&1 &
10
11CUDA_VISIBLE_DEVICES=0 nohup python run.py --data MMMU_DEV_VAL --model Omnicaptioner-deepseek-distill-7B --verbose > output_omnicap_deepseek_distill_3B_MMMU_DEV_VAL.log 2>&1 &
12CUDA_VISIBLE_DEVICES=0,1 nohup python run.py --data MMMU_DEV_VAL --model Omnicaptioner-deepseek-distill-32B --verbose > output_omnicap_deepseek_distill_32B_MMMU_DEV_VAL.log 2>&1 &
13CUDA_VISIBLE_DEVICES=0,1,2,3 nohup python run.py --data MMMU_DEV_VAL --model Omnicaptioner-deepseek-distill-70B --verbose > output_omnicap_deepseek_distill_70B_MMMU_DEV_VAL.log 2>&1 &
14