├── .gitignore ├── LICENSE ├── LICENSE-FID ├── LICENSE-LPIPS ├── LICENSE-NVIDIA ├── README.md ├── figures ├── result.png └── teaser.png ├── imgs ├── 9165-006-input.png └── 9177-004-input.png ├── lpips ├── __init__.py ├── base_model.py ├── dist_model.py ├── networks_basic.py └── pretrained_networks.py ├── model.py ├── models ├── __init__.py ├── bisenet.py ├── common.py ├── dcgan.py ├── downsampler.py ├── resnet.py ├── resnet18.py ├── resnet2d.py ├── skip.py ├── texture_nets.py └── unet.py ├── op ├── __init__.py ├── conv2d_gradfix.py ├── fused_act.py ├── fused_bias_act.cpp ├── fused_bias_act_kernel.cu ├── upfirdn2d.cpp ├── upfirdn2d.py └── upfirdn2d_kernel.cu ├── projector.py ├── remove_shadow.py ├── run.sh └── utils ├── __init__.py ├── common_utils.py ├── losses.py ├── model_irse.py ├── preprocess.py └── projection_utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE-FID: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/LICENSE-FID -------------------------------------------------------------------------------- /LICENSE-LPIPS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/LICENSE-LPIPS -------------------------------------------------------------------------------- /LICENSE-NVIDIA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/LICENSE-NVIDIA -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/README.md -------------------------------------------------------------------------------- /figures/result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/figures/result.png -------------------------------------------------------------------------------- /figures/teaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/figures/teaser.png -------------------------------------------------------------------------------- /imgs/9165-006-input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/imgs/9165-006-input.png -------------------------------------------------------------------------------- /imgs/9177-004-input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/imgs/9177-004-input.png -------------------------------------------------------------------------------- /lpips/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/lpips/__init__.py -------------------------------------------------------------------------------- /lpips/base_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/lpips/base_model.py -------------------------------------------------------------------------------- /lpips/dist_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/lpips/dist_model.py -------------------------------------------------------------------------------- /lpips/networks_basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/lpips/networks_basic.py -------------------------------------------------------------------------------- /lpips/pretrained_networks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/lpips/pretrained_networks.py -------------------------------------------------------------------------------- /model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/model.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/bisenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/bisenet.py -------------------------------------------------------------------------------- /models/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/common.py -------------------------------------------------------------------------------- /models/dcgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/dcgan.py -------------------------------------------------------------------------------- /models/downsampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/downsampler.py -------------------------------------------------------------------------------- /models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/resnet.py -------------------------------------------------------------------------------- /models/resnet18.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/resnet18.py -------------------------------------------------------------------------------- /models/resnet2d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/resnet2d.py -------------------------------------------------------------------------------- /models/skip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/skip.py -------------------------------------------------------------------------------- /models/texture_nets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/texture_nets.py -------------------------------------------------------------------------------- /models/unet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/models/unet.py -------------------------------------------------------------------------------- /op/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/op/__init__.py -------------------------------------------------------------------------------- /op/conv2d_gradfix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/op/conv2d_gradfix.py -------------------------------------------------------------------------------- /op/fused_act.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/op/fused_act.py -------------------------------------------------------------------------------- /op/fused_bias_act.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/op/fused_bias_act.cpp -------------------------------------------------------------------------------- /op/fused_bias_act_kernel.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/op/fused_bias_act_kernel.cu -------------------------------------------------------------------------------- /op/upfirdn2d.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/op/upfirdn2d.cpp -------------------------------------------------------------------------------- /op/upfirdn2d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/op/upfirdn2d.py -------------------------------------------------------------------------------- /op/upfirdn2d_kernel.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/op/upfirdn2d_kernel.cu -------------------------------------------------------------------------------- /projector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/projector.py -------------------------------------------------------------------------------- /remove_shadow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/remove_shadow.py -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/run.sh -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/common_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/utils/common_utils.py -------------------------------------------------------------------------------- /utils/losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/utils/losses.py -------------------------------------------------------------------------------- /utils/model_irse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/utils/model_irse.py -------------------------------------------------------------------------------- /utils/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/utils/preprocess.py -------------------------------------------------------------------------------- /utils/projection_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YingqingHe/Shadow-Removal-via-Generative-Priors/HEAD/utils/projection_utils.py --------------------------------------------------------------------------------