├── README.md ├── data ├── __init__.py └── input_dataset.py ├── eval.py ├── examples ├── images │ ├── beach-747750_1280_2.png │ ├── boy-1518482_1920_9.png │ ├── light-bulb-1104515_1280_3.png │ ├── spring-289527_1920_15.png │ └── wedding-dresses-1486260_1280_3.png └── trimaps │ ├── beach-747750_1280_2.png │ ├── boy-1518482_1920_9.png │ ├── light-bulb-1104515_1280_3.png │ ├── spring-289527_1920_15.png │ └── wedding-dresses-1486260_1280_3.png ├── model ├── ASPP.py ├── AlphaGAN.py ├── AlphaLoss.py ├── AtrousResNet.py ├── Decoder.py ├── Encoder.py ├── NLayerDiscriminator.py ├── __init__.py └── sync_batchnorm │ ├── __init__.py │ ├── batchnorm.py │ ├── batchnorm_reimpl.py │ ├── comm.py │ ├── replicate.py │ └── unittest.py ├── result ├── beach-747750_1280_2.png ├── boy-1518482_1920_9.png ├── light-bulb-1104515_1280_3.png ├── spring-289527_1920_15.png └── wedding-dresses-1486260_1280_3.png ├── scripts ├── MattingTest.ipynb └── MattingTrain.ipynb ├── train.py ├── utils ├── Tester.py └── __init__.py └── visualize.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/README.md -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/data/__init__.py -------------------------------------------------------------------------------- /data/input_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/data/input_dataset.py -------------------------------------------------------------------------------- /eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/eval.py -------------------------------------------------------------------------------- /examples/images/beach-747750_1280_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/images/beach-747750_1280_2.png -------------------------------------------------------------------------------- /examples/images/boy-1518482_1920_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/images/boy-1518482_1920_9.png -------------------------------------------------------------------------------- /examples/images/light-bulb-1104515_1280_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/images/light-bulb-1104515_1280_3.png -------------------------------------------------------------------------------- /examples/images/spring-289527_1920_15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/images/spring-289527_1920_15.png -------------------------------------------------------------------------------- /examples/images/wedding-dresses-1486260_1280_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/images/wedding-dresses-1486260_1280_3.png -------------------------------------------------------------------------------- /examples/trimaps/beach-747750_1280_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/trimaps/beach-747750_1280_2.png -------------------------------------------------------------------------------- /examples/trimaps/boy-1518482_1920_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/trimaps/boy-1518482_1920_9.png -------------------------------------------------------------------------------- /examples/trimaps/light-bulb-1104515_1280_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/trimaps/light-bulb-1104515_1280_3.png -------------------------------------------------------------------------------- /examples/trimaps/spring-289527_1920_15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/trimaps/spring-289527_1920_15.png -------------------------------------------------------------------------------- /examples/trimaps/wedding-dresses-1486260_1280_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/examples/trimaps/wedding-dresses-1486260_1280_3.png -------------------------------------------------------------------------------- /model/ASPP.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/ASPP.py -------------------------------------------------------------------------------- /model/AlphaGAN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/AlphaGAN.py -------------------------------------------------------------------------------- /model/AlphaLoss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/AlphaLoss.py -------------------------------------------------------------------------------- /model/AtrousResNet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/AtrousResNet.py -------------------------------------------------------------------------------- /model/Decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/Decoder.py -------------------------------------------------------------------------------- /model/Encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/Encoder.py -------------------------------------------------------------------------------- /model/NLayerDiscriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/NLayerDiscriminator.py -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /model/sync_batchnorm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/sync_batchnorm/__init__.py -------------------------------------------------------------------------------- /model/sync_batchnorm/batchnorm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/sync_batchnorm/batchnorm.py -------------------------------------------------------------------------------- /model/sync_batchnorm/batchnorm_reimpl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/sync_batchnorm/batchnorm_reimpl.py -------------------------------------------------------------------------------- /model/sync_batchnorm/comm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/sync_batchnorm/comm.py -------------------------------------------------------------------------------- /model/sync_batchnorm/replicate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/sync_batchnorm/replicate.py -------------------------------------------------------------------------------- /model/sync_batchnorm/unittest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/model/sync_batchnorm/unittest.py -------------------------------------------------------------------------------- /result/beach-747750_1280_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/result/beach-747750_1280_2.png -------------------------------------------------------------------------------- /result/boy-1518482_1920_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/result/boy-1518482_1920_9.png -------------------------------------------------------------------------------- /result/light-bulb-1104515_1280_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/result/light-bulb-1104515_1280_3.png -------------------------------------------------------------------------------- /result/spring-289527_1920_15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/result/spring-289527_1920_15.png -------------------------------------------------------------------------------- /result/wedding-dresses-1486260_1280_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/result/wedding-dresses-1486260_1280_3.png -------------------------------------------------------------------------------- /scripts/MattingTest.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/scripts/MattingTest.ipynb -------------------------------------------------------------------------------- /scripts/MattingTrain.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/scripts/MattingTrain.ipynb -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/train.py -------------------------------------------------------------------------------- /utils/Tester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/utils/Tester.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CDOTAD/AlphaGAN-Matting/HEAD/visualize.py --------------------------------------------------------------------------------