{"action":"created","issue":{"url":"https://api.github.com/repos/deepfakes/faceswap/issues/307","repository_url":"https://api.github.com/repos/deepfakes/faceswap","labels_url":"https://api.github.com/repos/deepfakes/faceswap/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/deepfakes/faceswap/issues/307/comments","events_url":"https://api.github.com/repos/deepfakes/faceswap/issues/307/events","html_url":"https://github.com/deepfakes/faceswap/pull/307","id":307585634,"number":307,"title":"Improving TrainingDataGenerator, sort tool and fixes","user":{"login":"iperov","id":8076202,"avatar_url":"https://avatars1.githubusercontent.com/u/8076202?v=4","gravatar_id":"","url":"https://api.github.com/users/iperov","html_url":"https://github.com/iperov","followers_url":"https://api.github.com/users/iperov/followers","following_url":"https://api.github.com/users/iperov/following{/other_user}","gists_url":"https://api.github.com/users/iperov/gists{/gist_id}","starred_url":"https://api.github.com/users/iperov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iperov/subscriptions","organizations_url":"https://api.github.com/users/iperov/orgs","repos_url":"https://api.github.com/users/iperov/repos","events_url":"https://api.github.com/users/iperov/events{/privacy}","received_events_url":"https://api.github.com/users/iperov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-03-22T10:29:40Z","updated_at":"2018-03-23T05:40:10Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/deepfakes/faceswap/pulls/307","html_url":"https://github.com/deepfakes/faceswap/pull/307","diff_url":"https://github.com/deepfakes/faceswap/pull/307.diff","patch_url":"https://github.com/deepfakes/faceswap/pull/307.patch"},"body":"**Sort tool:**\r\n\r\nfixed 'No faces were detected'\r\nspeed of face sorting **much increased**, because 256x256 face already \"detected\", so no need to detect it via dlib again\r\n\r\nremoved 'face' as face_recognition , and changed 'face-cnn' to 'face', because face-cnn better and faster and works with 3GB vram.\r\n\r\nadded --sort-by face-yaw\r\nresult:\r\n![fsviewer_2018-03-22_14-16-17](https://user-images.githubusercontent.com/8076202/37765244-23e3f66c-2ddd-11e8-85da-26e14e1c021c.png)\r\n![fsviewer_2018-03-22_14-17-13](https://user-images.githubusercontent.com/8076202/37765247-25ab43ce-2ddd-11e8-9126-5b053764fd5d.png)\r\n\r\n**Improving TrainingDataGenerator:**\r\n\r\nnow we can properly train model with tens of thousands of unevenly distributed by rotation faces\r\n\r\nidea:\r\n\r\n![photoshop_2018-03-22_14-20-48](https://user-images.githubusercontent.com/8076202/37765260-2b497224-2ddd-11e8-9514-1a721d38cdc1.png)\r\n\r\n\r\ntraining_data.py automatically generates alignments_yaw.json in aligned\\\\..\\\\ folder\r\nby launching yaw_sorter.py as fully separated python process but with same stdout, so no additional VRAM of main process consumed\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/deepfakes/faceswap/issues/comments/375550988","html_url":"https://github.com/deepfakes/faceswap/pull/307#issuecomment-375550988","issue_url":"https://api.github.com/repos/deepfakes/faceswap/issues/307","id":375550988,"user":{"login":"iperov","id":8076202,"avatar_url":"https://avatars1.githubusercontent.com/u/8076202?v=4","gravatar_id":"","url":"https://api.github.com/users/iperov","html_url":"https://github.com/iperov","followers_url":"https://api.github.com/users/iperov/followers","following_url":"https://api.github.com/users/iperov/following{/other_user}","gists_url":"https://api.github.com/users/iperov/gists{/gist_id}","starred_url":"https://api.github.com/users/iperov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iperov/subscriptions","organizations_url":"https://api.github.com/users/iperov/orgs","repos_url":"https://api.github.com/users/iperov/repos","events_url":"https://api.github.com/users/iperov/events{/privacy}","received_events_url":"https://api.github.com/users/iperov/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T05:40:10Z","updated_at":"2018-03-23T05:40:10Z","author_association":"CONTRIBUTOR","body":"h1vem1nd85, also, offer a solution. \r\nFork from my fork, and make better.\r\nIf you cannot offer a solution, then you have to stop flood and leave this PR.\r\n\r\nAm I wrong, @Clorr  ?"}}
{"actor":{"display_login":"iperov"}}