├── .gitignore ├── DEBUG.txt ├── Extract_edge.ipynb ├── Extract_edge.py ├── Pytorch-Style2paints ├── dataset_multi.py ├── dice_loss.py ├── eval.py ├── googlenet.py ├── helper.py ├── myinception.py ├── test.py ├── train.py ├── transforms.py ├── unet │ ├── __init__.py │ └── unet_model.py ├── utils │ ├── __init__.py │ ├── crf.py │ ├── data_vis.py │ ├── load.py │ └── utils.py └── weights │ ├── README.md │ ├── download_patterns.sh │ └── download_realtime_saliency.sh ├── README.md ├── example ├── 1_color.png ├── 1_sketch.png ├── 2_color.png ├── 2_sketch.png ├── 3_color.png ├── 3_sketch.png ├── 4_color.png ├── 4_sketch.png ├── 5_color.png ├── 5_sketch.png ├── 6_color.png ├── 6_sketch.png ├── 7_color.png ├── 7_sketch.png ├── 8_color.png ├── 8_sketch.png ├── 9_color.png ├── 9_sketch.png ├── Random Region Proposal and Pasting.png ├── Random color spray.png ├── Random transform.png ├── df_1.png ├── df_2.png ├── gt_1.png ├── gt_2.png ├── network.png ├── uh_1.png ├── uh_2.png ├── uh_gt_1.png └── uh_gt_2.png ├── helper.py ├── linefiller ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-36.pyc │ ├── thinning.cpython-36.pyc │ └── trappedball_fill.cpython-36.pyc ├── thinning.py └── trappedball_fill.py ├── simulate_step1.ipynb ├── simulate_step1.py ├── simulate_step2.ipynb ├── simulate_step2.py ├── spatial_transformer.py ├── tf_utils.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/.gitignore -------------------------------------------------------------------------------- /DEBUG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/DEBUG.txt -------------------------------------------------------------------------------- /Extract_edge.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Extract_edge.ipynb -------------------------------------------------------------------------------- /Extract_edge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Extract_edge.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/dataset_multi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/dataset_multi.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/dice_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/dice_loss.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/eval.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/googlenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/googlenet.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/helper.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/myinception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/myinception.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/test.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/train.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/transforms.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/unet/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/unet/__init__.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/unet/unet_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/unet/unet_model.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/utils/__init__.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/utils/crf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/utils/crf.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/utils/data_vis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/utils/data_vis.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/utils/load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/utils/load.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/utils/utils.py -------------------------------------------------------------------------------- /Pytorch-Style2paints/weights/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/weights/README.md -------------------------------------------------------------------------------- /Pytorch-Style2paints/weights/download_patterns.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/weights/download_patterns.sh -------------------------------------------------------------------------------- /Pytorch-Style2paints/weights/download_realtime_saliency.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/Pytorch-Style2paints/weights/download_realtime_saliency.sh -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/README.md -------------------------------------------------------------------------------- /example/1_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/1_color.png -------------------------------------------------------------------------------- /example/1_sketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/1_sketch.png -------------------------------------------------------------------------------- /example/2_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/2_color.png -------------------------------------------------------------------------------- /example/2_sketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/2_sketch.png -------------------------------------------------------------------------------- /example/3_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/3_color.png -------------------------------------------------------------------------------- /example/3_sketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/3_sketch.png -------------------------------------------------------------------------------- /example/4_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/4_color.png -------------------------------------------------------------------------------- /example/4_sketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/4_sketch.png -------------------------------------------------------------------------------- /example/5_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/5_color.png -------------------------------------------------------------------------------- /example/5_sketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/5_sketch.png -------------------------------------------------------------------------------- /example/6_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/6_color.png -------------------------------------------------------------------------------- /example/6_sketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/6_sketch.png -------------------------------------------------------------------------------- /example/7_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/7_color.png -------------------------------------------------------------------------------- /example/7_sketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/7_sketch.png -------------------------------------------------------------------------------- /example/8_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/8_color.png -------------------------------------------------------------------------------- /example/8_sketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/8_sketch.png -------------------------------------------------------------------------------- /example/9_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/9_color.png -------------------------------------------------------------------------------- /example/9_sketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/9_sketch.png -------------------------------------------------------------------------------- /example/Random Region Proposal and Pasting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/Random Region Proposal and Pasting.png -------------------------------------------------------------------------------- /example/Random color spray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/Random color spray.png -------------------------------------------------------------------------------- /example/Random transform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/Random transform.png -------------------------------------------------------------------------------- /example/df_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/df_1.png -------------------------------------------------------------------------------- /example/df_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/df_2.png -------------------------------------------------------------------------------- /example/gt_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/gt_1.png -------------------------------------------------------------------------------- /example/gt_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/gt_2.png -------------------------------------------------------------------------------- /example/network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/network.png -------------------------------------------------------------------------------- /example/uh_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/uh_1.png -------------------------------------------------------------------------------- /example/uh_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/uh_2.png -------------------------------------------------------------------------------- /example/uh_gt_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/uh_gt_1.png -------------------------------------------------------------------------------- /example/uh_gt_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/example/uh_gt_2.png -------------------------------------------------------------------------------- /helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/helper.py -------------------------------------------------------------------------------- /linefiller/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /linefiller/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/linefiller/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /linefiller/__pycache__/thinning.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/linefiller/__pycache__/thinning.cpython-36.pyc -------------------------------------------------------------------------------- /linefiller/__pycache__/trappedball_fill.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/linefiller/__pycache__/trappedball_fill.cpython-36.pyc -------------------------------------------------------------------------------- /linefiller/thinning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/linefiller/thinning.py -------------------------------------------------------------------------------- /linefiller/trappedball_fill.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/linefiller/trappedball_fill.py -------------------------------------------------------------------------------- /simulate_step1.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/simulate_step1.ipynb -------------------------------------------------------------------------------- /simulate_step1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/simulate_step1.py -------------------------------------------------------------------------------- /simulate_step2.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/simulate_step2.ipynb -------------------------------------------------------------------------------- /simulate_step2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/simulate_step2.py -------------------------------------------------------------------------------- /spatial_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/spatial_transformer.py -------------------------------------------------------------------------------- /tf_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/tf_utils.py -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pengxiao-Wang/Style2Paints_V3/HEAD/utils.py --------------------------------------------------------------------------------