├── README.md ├── SD_input_conv_weight_bias.pth ├── color150.mat ├── configs ├── levir_cd.yaml └── sysu_cd.yaml ├── convert_ckpt.py ├── dataset ├── __init__.py ├── base_dataset.py ├── base_dataset_kp.py ├── catalog.py ├── concat_dataset.py ├── dataset_canny.py ├── dataset_cd.py ├── dataset_depth.py ├── dataset_hed.py ├── dataset_kp.py ├── dataset_normal.py ├── dataset_sem.py ├── tsv.py ├── tsv_dataset.py └── utils.py ├── distributed.py ├── grounding_input ├── __init__.py ├── canny_grounding_downsampler_input.py ├── canny_grounding_tokinzer_input.py ├── cd_grounding_downsampler_input.py ├── cd_grounding_tokinzer_input.py ├── depth_grounding_downsampler_input.py ├── depth_grounding_tokinzer_input.py ├── hed_grounding_downsampler_input.py ├── hed_grounding_tokinzer_input.py ├── keypoint_grounding_tokinzer_input.py ├── normal_grounding_downsampler_input.py ├── normal_grounding_tokinzer_input.py ├── sem_grounding_downsampler_input.py ├── sem_grounding_tokinzer_input.py ├── text_grounding_tokinzer_input.py └── text_image_grounding_tokinzer_input.py ├── inference.py ├── inpaint_mask_func.py ├── ldm ├── data │ ├── __init__.py │ ├── base.py │ ├── imagenet.py │ ├── imagenet_clsidx_to_label.txt │ ├── imagenet_train_hr_indices.p │ ├── imagenet_val_hr_indices.p │ ├── index_synset.yaml │ └── lsun.py ├── lr_scheduler.py ├── models │ ├── autoencoder.py │ └── diffusion │ │ ├── __init__.py │ │ ├── classifier.py │ │ ├── ddim.py │ │ ├── ddpm.py │ │ ├── ldm.py │ │ └── plms.py ├── modules │ ├── attention.py │ ├── diffusionmodules │ │ ├── __init__.py │ │ ├── canny_grounding_downsampler.py │ │ ├── canny_grounding_net.py │ │ ├── cd_grounding_downsampler.py │ │ ├── cd_grounding_net.py │ │ ├── convnext.py │ │ ├── depth_grounding_downsampler.py │ │ ├── depth_grounding_net.py │ │ ├── grounding_net_example.py │ │ ├── hed_grounding_downsampler.py │ │ ├── hed_grounding_net.py │ │ ├── keypoint_grounding_net.py │ │ ├── model.py │ │ ├── normal_grounding_downsampler.py │ │ ├── normal_grounding_net.py │ │ ├── openaimodel.py │ │ ├── pseudo_example.py │ │ ├── resnet.py │ │ ├── sem_grounding_downsampler.py │ │ ├── sem_grounding_net.py │ │ ├── text_grounding_net.py │ │ ├── text_image_grounding_net.py │ │ └── util.py │ ├── distributions │ │ ├── __init__.py │ │ └── distributions.py │ ├── ema.py │ ├── encoders │ │ ├── __init__.py │ │ ├── modules.py │ │ └── modules_backup.py │ ├── image_degradation │ │ ├── __init__.py │ │ ├── bsrgan.py │ │ ├── bsrgan_light.py │ │ └── utils_image.py │ ├── losses │ │ ├── __init__.py │ │ ├── contperceptual.py │ │ └── vqperceptual.py │ └── x_transformer.py └── util.py ├── projection_matrix ├── train_autoencoder.py ├── train_diffusion.py └── tsv_split_merge.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/README.md -------------------------------------------------------------------------------- /SD_input_conv_weight_bias.pth: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/SD_input_conv_weight_bias.pth -------------------------------------------------------------------------------- /color150.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/color150.mat -------------------------------------------------------------------------------- /configs/levir_cd.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/configs/levir_cd.yaml -------------------------------------------------------------------------------- /configs/sysu_cd.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/configs/sysu_cd.yaml -------------------------------------------------------------------------------- /convert_ckpt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/convert_ckpt.py -------------------------------------------------------------------------------- /dataset/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dataset/base_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/base_dataset.py -------------------------------------------------------------------------------- /dataset/base_dataset_kp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/base_dataset_kp.py -------------------------------------------------------------------------------- /dataset/catalog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/catalog.py -------------------------------------------------------------------------------- /dataset/concat_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/concat_dataset.py -------------------------------------------------------------------------------- /dataset/dataset_canny.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/dataset_canny.py -------------------------------------------------------------------------------- /dataset/dataset_cd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/dataset_cd.py -------------------------------------------------------------------------------- /dataset/dataset_depth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/dataset_depth.py -------------------------------------------------------------------------------- /dataset/dataset_hed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/dataset_hed.py -------------------------------------------------------------------------------- /dataset/dataset_kp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/dataset_kp.py -------------------------------------------------------------------------------- /dataset/dataset_normal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/dataset_normal.py -------------------------------------------------------------------------------- /dataset/dataset_sem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/dataset_sem.py -------------------------------------------------------------------------------- /dataset/tsv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/tsv.py -------------------------------------------------------------------------------- /dataset/tsv_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/tsv_dataset.py -------------------------------------------------------------------------------- /dataset/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/dataset/utils.py -------------------------------------------------------------------------------- /distributed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/distributed.py -------------------------------------------------------------------------------- /grounding_input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/__init__.py -------------------------------------------------------------------------------- /grounding_input/canny_grounding_downsampler_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/canny_grounding_downsampler_input.py -------------------------------------------------------------------------------- /grounding_input/canny_grounding_tokinzer_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/canny_grounding_tokinzer_input.py -------------------------------------------------------------------------------- /grounding_input/cd_grounding_downsampler_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/cd_grounding_downsampler_input.py -------------------------------------------------------------------------------- /grounding_input/cd_grounding_tokinzer_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/cd_grounding_tokinzer_input.py -------------------------------------------------------------------------------- /grounding_input/depth_grounding_downsampler_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/depth_grounding_downsampler_input.py -------------------------------------------------------------------------------- /grounding_input/depth_grounding_tokinzer_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/depth_grounding_tokinzer_input.py -------------------------------------------------------------------------------- /grounding_input/hed_grounding_downsampler_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/hed_grounding_downsampler_input.py -------------------------------------------------------------------------------- /grounding_input/hed_grounding_tokinzer_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/hed_grounding_tokinzer_input.py -------------------------------------------------------------------------------- /grounding_input/keypoint_grounding_tokinzer_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/keypoint_grounding_tokinzer_input.py -------------------------------------------------------------------------------- /grounding_input/normal_grounding_downsampler_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/normal_grounding_downsampler_input.py -------------------------------------------------------------------------------- /grounding_input/normal_grounding_tokinzer_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/normal_grounding_tokinzer_input.py -------------------------------------------------------------------------------- /grounding_input/sem_grounding_downsampler_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/sem_grounding_downsampler_input.py -------------------------------------------------------------------------------- /grounding_input/sem_grounding_tokinzer_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/sem_grounding_tokinzer_input.py -------------------------------------------------------------------------------- /grounding_input/text_grounding_tokinzer_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/text_grounding_tokinzer_input.py -------------------------------------------------------------------------------- /grounding_input/text_image_grounding_tokinzer_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/grounding_input/text_image_grounding_tokinzer_input.py -------------------------------------------------------------------------------- /inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/inference.py -------------------------------------------------------------------------------- /inpaint_mask_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/inpaint_mask_func.py -------------------------------------------------------------------------------- /ldm/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ldm/data/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/data/base.py -------------------------------------------------------------------------------- /ldm/data/imagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/data/imagenet.py -------------------------------------------------------------------------------- /ldm/data/imagenet_clsidx_to_label.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/data/imagenet_clsidx_to_label.txt -------------------------------------------------------------------------------- /ldm/data/imagenet_train_hr_indices.p: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/data/imagenet_train_hr_indices.p -------------------------------------------------------------------------------- /ldm/data/imagenet_val_hr_indices.p: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/data/imagenet_val_hr_indices.p -------------------------------------------------------------------------------- /ldm/data/index_synset.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/data/index_synset.yaml -------------------------------------------------------------------------------- /ldm/data/lsun.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/data/lsun.py -------------------------------------------------------------------------------- /ldm/lr_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/lr_scheduler.py -------------------------------------------------------------------------------- /ldm/models/autoencoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/models/autoencoder.py -------------------------------------------------------------------------------- /ldm/models/diffusion/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ldm/models/diffusion/classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/models/diffusion/classifier.py -------------------------------------------------------------------------------- /ldm/models/diffusion/ddim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/models/diffusion/ddim.py -------------------------------------------------------------------------------- /ldm/models/diffusion/ddpm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/models/diffusion/ddpm.py -------------------------------------------------------------------------------- /ldm/models/diffusion/ldm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/models/diffusion/ldm.py -------------------------------------------------------------------------------- /ldm/models/diffusion/plms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/models/diffusion/plms.py -------------------------------------------------------------------------------- /ldm/modules/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/attention.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/canny_grounding_downsampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/canny_grounding_downsampler.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/canny_grounding_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/canny_grounding_net.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/cd_grounding_downsampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/cd_grounding_downsampler.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/cd_grounding_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/cd_grounding_net.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/convnext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/convnext.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/depth_grounding_downsampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/depth_grounding_downsampler.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/depth_grounding_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/depth_grounding_net.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/grounding_net_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/grounding_net_example.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/hed_grounding_downsampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/hed_grounding_downsampler.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/hed_grounding_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/hed_grounding_net.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/keypoint_grounding_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/keypoint_grounding_net.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/model.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/normal_grounding_downsampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/normal_grounding_downsampler.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/normal_grounding_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/normal_grounding_net.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/openaimodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/openaimodel.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/pseudo_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/pseudo_example.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/resnet.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/sem_grounding_downsampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/sem_grounding_downsampler.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/sem_grounding_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/sem_grounding_net.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/text_grounding_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/text_grounding_net.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/text_image_grounding_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/text_image_grounding_net.py -------------------------------------------------------------------------------- /ldm/modules/diffusionmodules/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/diffusionmodules/util.py -------------------------------------------------------------------------------- /ldm/modules/distributions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ldm/modules/distributions/distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/distributions/distributions.py -------------------------------------------------------------------------------- /ldm/modules/ema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/ema.py -------------------------------------------------------------------------------- /ldm/modules/encoders/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ldm/modules/encoders/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/encoders/modules.py -------------------------------------------------------------------------------- /ldm/modules/encoders/modules_backup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/encoders/modules_backup.py -------------------------------------------------------------------------------- /ldm/modules/image_degradation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/image_degradation/__init__.py -------------------------------------------------------------------------------- /ldm/modules/image_degradation/bsrgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/image_degradation/bsrgan.py -------------------------------------------------------------------------------- /ldm/modules/image_degradation/bsrgan_light.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/image_degradation/bsrgan_light.py -------------------------------------------------------------------------------- /ldm/modules/image_degradation/utils_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/image_degradation/utils_image.py -------------------------------------------------------------------------------- /ldm/modules/losses/__init__.py: -------------------------------------------------------------------------------- 1 | from ldm.modules.losses.contperceptual import LPIPSWithDiscriminator -------------------------------------------------------------------------------- /ldm/modules/losses/contperceptual.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/losses/contperceptual.py -------------------------------------------------------------------------------- /ldm/modules/losses/vqperceptual.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/losses/vqperceptual.py -------------------------------------------------------------------------------- /ldm/modules/x_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/modules/x_transformer.py -------------------------------------------------------------------------------- /ldm/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/ldm/util.py -------------------------------------------------------------------------------- /projection_matrix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/projection_matrix -------------------------------------------------------------------------------- /train_autoencoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/train_autoencoder.py -------------------------------------------------------------------------------- /train_diffusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/train_diffusion.py -------------------------------------------------------------------------------- /tsv_split_merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeyuwang-zju/UP-Diff/HEAD/tsv_split_merge.py --------------------------------------------------------------------------------