├── .idea ├── face_swap.iml ├── misc.xml ├── modules.xml └── workspace.xml ├── README.md ├── dataset ├── __pycache__ │ └── reader.cpython-37.pyc ├── reader.py ├── video_clips_path.txt └── video_landmarks_path.txt ├── face-alignment_projection ├── conda │ ├── conda_upload.sh │ └── meta.yaml ├── docs │ └── images │ │ ├── 2dlandmarks.png │ │ └── face-alignment-adrian.gif ├── examples │ └── detect_landmarks_in_image.py ├── face_alignment │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── api.cpython-36.pyc │ │ ├── models.cpython-36.pyc │ │ └── utils.cpython-36.pyc │ ├── api.py │ ├── detection │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-36.pyc │ │ │ └── core.cpython-36.pyc │ │ ├── core.py │ │ ├── dlib │ │ │ ├── __init__.py │ │ │ └── dlib_detector.py │ │ ├── folder │ │ │ ├── __init__.py │ │ │ └── folder_detector.py │ │ └── sfd │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-36.pyc │ │ │ ├── bbox.cpython-36.pyc │ │ │ ├── detect.cpython-36.pyc │ │ │ ├── net_s3fd.cpython-36.pyc │ │ │ └── sfd_detector.cpython-36.pyc │ │ │ ├── bbox.py │ │ │ ├── detect.py │ │ │ ├── net_s3fd.py │ │ │ └── sfd_detector.py │ ├── models.py │ └── utils.py ├── get_landmarks.py ├── songyiren.jpg └── test │ ├── assets │ └── aflw-test.jpg │ ├── facealignment_test.py │ ├── smoke_test.py │ └── test_utils.py ├── model ├── D.py ├── E.py ├── FaceSwapModel.py ├── G.py ├── __init__.py ├── __pycache__ │ ├── D.cpython-36.pyc │ ├── D.cpython-37.pyc │ ├── E.cpython-36.pyc │ ├── E.cpython-37.pyc │ ├── FaceSwapModel.cpython-37.pyc │ ├── G.cpython-36.pyc │ ├── G.cpython-37.pyc │ ├── __init__.cpython-37.pyc │ ├── loss.cpython-36.pyc │ ├── loss.cpython-37.pyc │ ├── resblocks.cpython-36.pyc │ ├── resblocks.cpython-37.pyc │ ├── vgg_face.cpython-36.pyc │ └── vgg_face.cpython-37.pyc ├── loss.py ├── resblocks.py └── vgg_face.py ├── train.py ├── training_visual ├── temp_fake_gt_landmark_100.jpg ├── temp_fake_gt_landmark_1000.jpg ├── temp_fake_gt_landmark_1100.jpg ├── temp_fake_gt_landmark_1200.jpg ├── temp_fake_gt_landmark_1300.jpg ├── temp_fake_gt_landmark_1400.jpg ├── temp_fake_gt_landmark_1500.jpg ├── temp_fake_gt_landmark_1600.jpg ├── temp_fake_gt_landmark_1700.jpg ├── temp_fake_gt_landmark_1800.jpg ├── temp_fake_gt_landmark_1900.jpg ├── temp_fake_gt_landmark_200.jpg ├── temp_fake_gt_landmark_2000.jpg ├── temp_fake_gt_landmark_2100.jpg ├── temp_fake_gt_landmark_2200.jpg ├── temp_fake_gt_landmark_2300.jpg ├── temp_fake_gt_landmark_300.jpg ├── temp_fake_gt_landmark_400.jpg ├── temp_fake_gt_landmark_500.jpg ├── temp_fake_gt_landmark_600.jpg ├── temp_fake_gt_landmark_700.jpg ├── temp_fake_gt_landmark_800.jpg └── temp_fake_gt_landmark_900.jpg └── utils.py /.idea/face_swap.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 112 | 113 | 114 | 115 | Conv2d 116 | pool 117 | landmarks 118 | fa 119 | v 120 | Adain 121 | mean_y 122 | e 123 | mean_ 124 | RandomHorizontalFlip 125 | vis 126 | print 127 | 128 | 129 | 130 | 131 | 132 | 133 | 155 | 156 | 157 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 |