Views
No views yet


<instruction><image> is particularly important.
1MODEL_PATH="path/to/model"
2FLUX_PATH="path/to/flux"
3SIGLIP_PATH="path/to/siglip"
4CUDA_VISIBLE_DEVICES=0 python -m univa.serve.gradio_web_server \
5 --model_path ${MODEL_PATH} \
6 --flux_path ${FLUX_PATH} \
7 --siglip_path ${SIGLIP_PATH}1MODEL_PATH="path/to/model"
2FLUX_PATH="path/to/flux"
3SIGLIP_PATH="path/to/siglip"
4CUDA_VISIBLE_DEVICES=1 python -m univa.serve.cli \
5 --model_path ${MODEL_PATH} \
6 --flux_path ${FLUX_PATH} \
7 --siglip_path ${SIGLIP_PATH}git clone https://github.com/PKU-YuanGroup/UniWorld
cd UniWorldconda create -n univa python=3.10 -y
conda activate univa
pip install -r requirements.txtdata.txt file in the following format:data/BLIP3o-60k,json/blip3o_t2i_58859.json,false
data/coco2017_caption_canny-236k,coco2017_canny_236574.json,false
data/imgedit,json/imgedit/laion_add_part0_edit.json,truedata.txt correctly.python univa/serve/check_data.py
$FLUX_PATH.
Download Qwen/Qwen2.5-VL-7B-Instruct to $QWENVL_PATH. We also support other sizes of Qwen2.5-VL.SAVE_PATH="path/to/save/UniWorld-Qwen2.5-VL-7B-Instruct-FLUX.1-dev-fp32"
python scripts/make_univa_qwen2p5vl_weight.py \
--origin_flux_ckpt_path $FLUX_PATH \
--origin_qwenvl_ckpt_path $QWENVL_PATH \
--save_path ${SAVE_PATH}# stage1
bash scripts/denoiser/flux_qwen2p5vl_7b_vlm_stage1_512.shpretrained_siglip_mlp_path in stage2.yaml. The weight is sourced from ostris/Flex.1-alpha-Redux, we just re-organize the weight.# stage2
bash scripts/denoiser/flux_qwen2p5vl_7b_vlm_stage2_512.shcd univa/eval/geneval
# follow the instruction in univa/eval/geneval/README.mdcd univa/eval/wise
# follow the instruction in univa/eval/wise/README.mdcd univa/eval/genai
# follow the instruction in univa/eval/genai/README.mdcd univa/eval/dpgbench
# follow the instruction in univa/eval/dpgbench/README.mdcd univa/eval/imgedit
# follow the instruction in univa/eval/imgedit/README.mdcd univa/eval/gdit
# follow the instruction in univa/eval/gdit/README.md
1@misc{lin2025uniworldhighresolutionsemanticencoders,
2 title={UniWorld: High-Resolution Semantic Encoders for Unified Visual Understanding and Generation},
3 author={Bin Lin and Zongjian Li and Xinhua Cheng and Yuwei Niu and Yang Ye and Xianyi He and Shenghai Yuan and Wangbo Yu and Shaodong Wang and Yunyang Ge and Yatian Pang and Li Yuan},
4 year={2025},
5 eprint={2506.03147},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV},
8 url={https://arxiv.org/abs/2506.03147},
9}1@article{niu2025wise,
2 title={Wise: A world knowledge-informed semantic evaluation for text-to-image generation},
3 author={Niu, Yuwei and Ning, Munan and Zheng, Mengren and Lin, Bin and Jin, Peng and Liao, Jiaqi and Ning, Kunpeng and Zhu, Bin and Yuan, Li},
4 journal={arXiv preprint arXiv:2503.07265},
5 year={2025}
6}1@article{lin2024open,
2 title={Open-Sora Plan: Open-Source Large Video Generation Model},
3 author={Lin, Bin and Ge, Yunyang and Cheng, Xinhua and Li, Zongjian and Zhu, Bin and Wang, Shaodong and He, Xianyi and Ye, Yang and Yuan, Shenghai and Chen, Liuhan and others},
4 journal={arXiv preprint arXiv:2412.00131},
5 year={2024}
6}