├── LICENSE ├── README.md ├── assets ├── X2Edit images.jpg ├── X2Edit images.pdf ├── dataset_detail.jpg ├── qwen-image0.png └── qwen-image1.png ├── data_pipeline ├── aesthetic_predictor_v2_5 │ ├── __init__.py │ └── siglip_v2_5.py ├── bagel_data.py ├── expert_style_change.py ├── expert_subject_deletion.py ├── expert_subject_deletion_filter.py ├── expert_text_change_ch.py ├── expert_text_change_en.py ├── gpt4o_data.py ├── kontext_data.py ├── kontext_style_transfer.py ├── kontext_subject_data.py ├── run_inference.py ├── step1x_data.py └── utils │ ├── gpt_4o.py │ ├── inferencer.py │ ├── modeling │ ├── __init__.py │ ├── autoencoder.py │ ├── bagel │ │ ├── __init__.py │ │ ├── bagel.py │ │ ├── modeling_utils.py │ │ ├── qwen2_navit.py │ │ └── siglip_navit.py │ ├── qwen2 │ │ ├── __init__.py │ │ ├── configuration_qwen2.py │ │ ├── modeling_qwen2.py │ │ ├── tokenization_qwen2.py │ │ └── tokenization_qwen2_fast.py │ └── siglip │ │ ├── __init__.py │ │ ├── configuration_siglip.py │ │ ├── convert_siglip_to_hf.py │ │ ├── image_processing_siglip.py │ │ ├── modeling_siglip.py │ │ ├── processing_siglip.py │ │ └── tokenization_siglip.py │ ├── modules │ ├── __init__.py │ ├── attention.py │ ├── autoencoder.py │ ├── conditioner.py │ ├── connector_edit.py │ ├── layers.py │ └── model_edit.py │ ├── randeng │ ├── configuration_deltalm.py │ └── modeling_deltalm.py │ ├── sampling.py │ ├── src_files │ ├── helper_functions │ │ ├── bn_fusion.py │ │ └── helper_functions.py │ ├── loss_functions │ │ └── losses.py │ ├── ml_decoder │ │ └── ml_decoder.py │ └── models │ │ ├── __init__.py │ │ ├── tresnet │ │ ├── __init__.py │ │ ├── layers │ │ │ ├── anti_aliasing.py │ │ │ ├── avg_pool.py │ │ │ └── general_layers.py │ │ └── tresnet.py │ │ └── utils │ │ ├── __init__.py │ │ └── factory.py │ └── src_inference │ ├── __init__.py │ ├── layers_cache.py │ ├── lora_helper.py │ └── pipeline.py ├── ds_config.yaml ├── evaluation ├── calculate_score_en_ch.py ├── score_i2i_new.py └── viescore │ ├── __init__.py │ ├── mllm_tools │ ├── __init__.py │ ├── gemini.py │ ├── idefics2_eval.py │ ├── mantis_idefics2_eval.py │ ├── minicpmv_eval.py │ ├── openai.py │ ├── openai1.py │ ├── qwen25vl_eval.py │ └── utils.py │ ├── parse_prompt.py │ ├── utils.py │ └── vie_prompts.py ├── infer.py ├── infer_qwen.py ├── requirements.txt ├── src ├── __init__.py ├── custom_dataset_1024.py ├── custom_dataset_512.py ├── custom_dataset_qwen.py ├── custom_dataset_qwen_1024.py ├── custom_multiplexer.py ├── intention_qwen3.py ├── jsonl_datasets.py ├── layers.py ├── layers_qwen.py ├── lora_helper.py ├── lora_helper_qwen.py ├── mobilenetv4_blocks.py ├── pipeline.py ├── pipeline_1024.py ├── pipeline_qwen_image.py ├── proj.py ├── prompt_helper.py ├── transformer_flux.py └── transformer_qwen.py └── training_script ├── train_1024.py ├── train_1024.sh ├── train_512.py ├── train_512.sh ├── train_qwen_x2edit.py ├── train_qwen_x2edit_1024.py ├── train_qwen_x2edit_1024.sh └── train_qwen_x2edit_512.sh /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/README.md -------------------------------------------------------------------------------- /assets/X2Edit images.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/assets/X2Edit images.jpg -------------------------------------------------------------------------------- /assets/X2Edit images.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/assets/X2Edit images.pdf -------------------------------------------------------------------------------- /assets/dataset_detail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/assets/dataset_detail.jpg -------------------------------------------------------------------------------- /assets/qwen-image0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/assets/qwen-image0.png -------------------------------------------------------------------------------- /assets/qwen-image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/assets/qwen-image1.png -------------------------------------------------------------------------------- /data_pipeline/aesthetic_predictor_v2_5/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/aesthetic_predictor_v2_5/__init__.py -------------------------------------------------------------------------------- /data_pipeline/aesthetic_predictor_v2_5/siglip_v2_5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/aesthetic_predictor_v2_5/siglip_v2_5.py -------------------------------------------------------------------------------- /data_pipeline/bagel_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/bagel_data.py -------------------------------------------------------------------------------- /data_pipeline/expert_style_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/expert_style_change.py -------------------------------------------------------------------------------- /data_pipeline/expert_subject_deletion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/expert_subject_deletion.py -------------------------------------------------------------------------------- /data_pipeline/expert_subject_deletion_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/expert_subject_deletion_filter.py -------------------------------------------------------------------------------- /data_pipeline/expert_text_change_ch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/expert_text_change_ch.py -------------------------------------------------------------------------------- /data_pipeline/expert_text_change_en.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/expert_text_change_en.py -------------------------------------------------------------------------------- /data_pipeline/gpt4o_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/gpt4o_data.py -------------------------------------------------------------------------------- /data_pipeline/kontext_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/kontext_data.py -------------------------------------------------------------------------------- /data_pipeline/kontext_style_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/kontext_style_transfer.py -------------------------------------------------------------------------------- /data_pipeline/kontext_subject_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/kontext_subject_data.py -------------------------------------------------------------------------------- /data_pipeline/run_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/run_inference.py -------------------------------------------------------------------------------- /data_pipeline/step1x_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/step1x_data.py -------------------------------------------------------------------------------- /data_pipeline/utils/gpt_4o.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/gpt_4o.py -------------------------------------------------------------------------------- /data_pipeline/utils/inferencer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/inferencer.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/__init__.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/autoencoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/autoencoder.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/bagel/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/bagel/__init__.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/bagel/bagel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/bagel/bagel.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/bagel/modeling_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/bagel/modeling_utils.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/bagel/qwen2_navit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/bagel/qwen2_navit.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/bagel/siglip_navit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/bagel/siglip_navit.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/qwen2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/qwen2/__init__.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/qwen2/configuration_qwen2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/qwen2/configuration_qwen2.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/qwen2/modeling_qwen2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/qwen2/modeling_qwen2.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/qwen2/tokenization_qwen2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/qwen2/tokenization_qwen2.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/qwen2/tokenization_qwen2_fast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/qwen2/tokenization_qwen2_fast.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/siglip/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/siglip/__init__.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/siglip/configuration_siglip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/siglip/configuration_siglip.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/siglip/convert_siglip_to_hf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/siglip/convert_siglip_to_hf.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/siglip/image_processing_siglip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/siglip/image_processing_siglip.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/siglip/modeling_siglip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/siglip/modeling_siglip.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/siglip/processing_siglip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/siglip/processing_siglip.py -------------------------------------------------------------------------------- /data_pipeline/utils/modeling/siglip/tokenization_siglip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modeling/siglip/tokenization_siglip.py -------------------------------------------------------------------------------- /data_pipeline/utils/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data_pipeline/utils/modules/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modules/attention.py -------------------------------------------------------------------------------- /data_pipeline/utils/modules/autoencoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modules/autoencoder.py -------------------------------------------------------------------------------- /data_pipeline/utils/modules/conditioner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modules/conditioner.py -------------------------------------------------------------------------------- /data_pipeline/utils/modules/connector_edit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modules/connector_edit.py -------------------------------------------------------------------------------- /data_pipeline/utils/modules/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modules/layers.py -------------------------------------------------------------------------------- /data_pipeline/utils/modules/model_edit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/modules/model_edit.py -------------------------------------------------------------------------------- /data_pipeline/utils/randeng/configuration_deltalm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/randeng/configuration_deltalm.py -------------------------------------------------------------------------------- /data_pipeline/utils/randeng/modeling_deltalm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/randeng/modeling_deltalm.py -------------------------------------------------------------------------------- /data_pipeline/utils/sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/sampling.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/helper_functions/bn_fusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/helper_functions/bn_fusion.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/helper_functions/helper_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/helper_functions/helper_functions.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/loss_functions/losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/loss_functions/losses.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/ml_decoder/ml_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/ml_decoder/ml_decoder.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/models/__init__.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/models/tresnet/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/models/tresnet/__init__.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/models/tresnet/layers/anti_aliasing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/models/tresnet/layers/anti_aliasing.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/models/tresnet/layers/avg_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/models/tresnet/layers/avg_pool.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/models/tresnet/layers/general_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/models/tresnet/layers/general_layers.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/models/tresnet/tresnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/models/tresnet/tresnet.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/models/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/models/utils/__init__.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_files/models/utils/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_files/models/utils/factory.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_inference/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data_pipeline/utils/src_inference/layers_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_inference/layers_cache.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_inference/lora_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_inference/lora_helper.py -------------------------------------------------------------------------------- /data_pipeline/utils/src_inference/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/data_pipeline/utils/src_inference/pipeline.py -------------------------------------------------------------------------------- /ds_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/ds_config.yaml -------------------------------------------------------------------------------- /evaluation/calculate_score_en_ch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/calculate_score_en_ch.py -------------------------------------------------------------------------------- /evaluation/score_i2i_new.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/score_i2i_new.py -------------------------------------------------------------------------------- /evaluation/viescore/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/__init__.py -------------------------------------------------------------------------------- /evaluation/viescore/mllm_tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /evaluation/viescore/mllm_tools/gemini.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/mllm_tools/gemini.py -------------------------------------------------------------------------------- /evaluation/viescore/mllm_tools/idefics2_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/mllm_tools/idefics2_eval.py -------------------------------------------------------------------------------- /evaluation/viescore/mllm_tools/mantis_idefics2_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/mllm_tools/mantis_idefics2_eval.py -------------------------------------------------------------------------------- /evaluation/viescore/mllm_tools/minicpmv_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/mllm_tools/minicpmv_eval.py -------------------------------------------------------------------------------- /evaluation/viescore/mllm_tools/openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/mllm_tools/openai.py -------------------------------------------------------------------------------- /evaluation/viescore/mllm_tools/openai1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/mllm_tools/openai1.py -------------------------------------------------------------------------------- /evaluation/viescore/mllm_tools/qwen25vl_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/mllm_tools/qwen25vl_eval.py -------------------------------------------------------------------------------- /evaluation/viescore/mllm_tools/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/mllm_tools/utils.py -------------------------------------------------------------------------------- /evaluation/viescore/parse_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/parse_prompt.py -------------------------------------------------------------------------------- /evaluation/viescore/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/utils.py -------------------------------------------------------------------------------- /evaluation/viescore/vie_prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/evaluation/viescore/vie_prompts.py -------------------------------------------------------------------------------- /infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/infer.py -------------------------------------------------------------------------------- /infer_qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/infer_qwen.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/custom_dataset_1024.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/custom_dataset_1024.py -------------------------------------------------------------------------------- /src/custom_dataset_512.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/custom_dataset_512.py -------------------------------------------------------------------------------- /src/custom_dataset_qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/custom_dataset_qwen.py -------------------------------------------------------------------------------- /src/custom_dataset_qwen_1024.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/custom_dataset_qwen_1024.py -------------------------------------------------------------------------------- /src/custom_multiplexer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/custom_multiplexer.py -------------------------------------------------------------------------------- /src/intention_qwen3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/intention_qwen3.py -------------------------------------------------------------------------------- /src/jsonl_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/jsonl_datasets.py -------------------------------------------------------------------------------- /src/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/layers.py -------------------------------------------------------------------------------- /src/layers_qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/layers_qwen.py -------------------------------------------------------------------------------- /src/lora_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/lora_helper.py -------------------------------------------------------------------------------- /src/lora_helper_qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/lora_helper_qwen.py -------------------------------------------------------------------------------- /src/mobilenetv4_blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/mobilenetv4_blocks.py -------------------------------------------------------------------------------- /src/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/pipeline.py -------------------------------------------------------------------------------- /src/pipeline_1024.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/pipeline_1024.py -------------------------------------------------------------------------------- /src/pipeline_qwen_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/pipeline_qwen_image.py -------------------------------------------------------------------------------- /src/proj.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/proj.py -------------------------------------------------------------------------------- /src/prompt_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/prompt_helper.py -------------------------------------------------------------------------------- /src/transformer_flux.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/transformer_flux.py -------------------------------------------------------------------------------- /src/transformer_qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/src/transformer_qwen.py -------------------------------------------------------------------------------- /training_script/train_1024.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/training_script/train_1024.py -------------------------------------------------------------------------------- /training_script/train_1024.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/training_script/train_1024.sh -------------------------------------------------------------------------------- /training_script/train_512.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/training_script/train_512.py -------------------------------------------------------------------------------- /training_script/train_512.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/training_script/train_512.sh -------------------------------------------------------------------------------- /training_script/train_qwen_x2edit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/training_script/train_qwen_x2edit.py -------------------------------------------------------------------------------- /training_script/train_qwen_x2edit_1024.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/training_script/train_qwen_x2edit_1024.py -------------------------------------------------------------------------------- /training_script/train_qwen_x2edit_1024.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/training_script/train_qwen_x2edit_1024.sh -------------------------------------------------------------------------------- /training_script/train_qwen_x2edit_512.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OPPO-Mente-Lab/X2Edit/HEAD/training_script/train_qwen_x2edit_512.sh --------------------------------------------------------------------------------