ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Tutorials, Guides, Ebooks, etc.

Deepfake Tutorial (Make anyone into a pornstar)

Submitted by Manfruity at 18-08-2022, 07:47 AM


Deepfake Tutorial (Make anyone into a pornstar)
7.228 Views
Manfruity's Avatar'
Manfruity
Offline
#1
Make anyone you would like into a pornstar, it doesn't have to be pornstar but that's what this is mostly used for.

[ Hidden Content! ]

Videos requirements
  • High resolution (4k webm is best, lower than 1080p is not recommended
  • Faces not too far from camera and unobstructed
  • Multiple angles, facial expressions
  • Brightly and evenly lit
  • Faces should somewhat match (beard, hat, hair, skin color, shape, glasses)
  • Need at least 2 mins of good quality video, interview videos work well
Downloading Software
  1. [url="https://github.com/iperov/DeepFaceLab"]Download DeepFaceLab[/url]
  2. Make sure to pick the right build for your GPU. If you don’t have a GPU, use the CLSSE build
  3. The downloaded .exe will extract and install the program to the location of your choosing.
  4. A workspace folder will be created. This is the folder where all the action will happen.
Extracting faces from source video
  1. Name the source video data_src and place it in the \workspace folder.
  2. Most formats that ffmpeg supports will work
  3. Run 2) extract images from video data_src
  4. Use PNG (better quality)
  5. FPS <= 10 that gets you at least 2000 images (4k-6k is ideal)
  6. Run 4) data_src extract faces S3FD best GPU
  7. Extracted faces saved to data_src\aligned.
  8. Run 4.2.2) data_src sort by similar histogram
  9. Groups similar detected faces together
  10. Run 4.1) data_src check result
  11. Delete faces that are not the right person, super blurry, cut off, upside down or sideways, or obstructed
  12. Run 4.2.other) data_src util add landmarks debug images
  13. New images with _debug suffix are created in data_src/aligned which allow you to see the detected facial landmarks
  14. Look for faces where landmarks are misaligned and delete the _debug and original images for those
  15. Once you’re done, delete all _debug images by using the search bar to filter for _debug
  16. Run 4.2.6) data_src sort by final
  17. Choose a target image number around 90% of your total faces
Extracting faces from destination video
  1. Name your final video data_dst and put it in the \workspace folder
  2. Run 3.2) extract PNG from video data_dst FULL FPS
  3. Run 5) data_dst extract faces S3FD best GPU
  4. Run 5.2) data_dst sort by similar histogram
  5. Run 5.1) data_dst check results
  6. Delete all faces that are not the target face to swap, or are the target face but upside down or sideways. Every face that you leave in will be swapped in the final video.
  7. Run 5.1) data_dst check results debug
  8. Delete any faces that are not correctly aligned or missing alignment, paying special attention to the jawline. We will manually align these frames in the next step.
  9. Run 5) data_dst extract faces MANUAL RE-EXTRACT DELETED RESULTS DEBUG
  10. We run this step to manually align frames that we deleted in the last step. The manually aligned faces will be automatically extracted and used for converting. You must manually align frames you want converted (swapped) even if it’s a lot of work. If you fail to do so, your swap will use the original face for those frames.
  11. Manual alignment instructions:
  12. For each face, move your cursor around until it aligns correctly onto the face
  13. If it’s not aligning, use the mouse scroll wheel / zoom to change the size of the boxes
  14. When alignment is correct, hit enter
  15. Go back and forth with , and .. If you don’t want to align a frame just skip it with .
  16. Mouse left click will lock/unlock landmarks. You can either lock it by clicking or hitting enter.
Training
  1. Run 6) train SAEHD
  2. You will need to run this for a long time to get good quality deepfake, keep checking previews to see how good it is and until your satisfied
Convert
  1. Run 7) convert SAEHD
  2. While conversion is running, you can preview the final images data_dst\merged folder to make sure it’s correct. If it’s not, just close the convert window, delete /merged and start conversion again.
  3. Run 8) converted to mp4
  4. Bitrate of 3-8 is sufficient for most
  5. And your done
Here are some YouTube tutorials if its easier for you to follow:
  • [url="https://youtube.com/watch?v=t59gRbpYMiY"]https://youtube.com/watch?v=t59gRbpYMiY[/url]
  • [url="https://youtube.com/watch?v=tW7EENTWXRk"]https://youtube.com/watch?v=tW7EENTWXRk[/url]
  • [url="https://youtube.com/watch?v=lSM-9RBk3HQ"]https://youtube.com/watch?v=lSM-9RBk3HQ[/url]
Good luck with ur deepfakes :)

Not working!This leak has been rated as not working 0 times this week. (1 in total)
[Image: signature.webp]
0
Reply


Messages In This Thread
Deepfake Tutorial (Make anyone into a pornstar) - by Manfruity - 18-08-2022, 07:47 AM


Users browsing this thread: