How to Enable Uniform Pitch Distribution

Home Forums DeepFaceLab Development How to Enable Uniform Pitch Distribution

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1104
    deepfakery
    Keymaster

      You can enable uniform pitch in DeepFaceLab by making a minor code modification to the file SampleGeneratorFace.py

      Step 1: Navigate to My_DeepFaceLab_Directory/_internal/DeepFaceLab/samplelib/
      Step 2: Make a backup copy of the file SampleGeneratorFace.py
      Step 3: Open the file SampleGeneratorFace.py in an IDE or text editor
      Step 4: Modify line 66
      Original Code:
      s_yaw = -pyr[1]
      New Code:
      s_yaw = -pyr[0]
      Step 5: Save the file.
      Step 6: In the trainer, enable Uniform Yaw (uniform_yaw). The console output will still display “uniform yaw” however the code modification will use pitch instead.
      Step 7: To switch back to pitch, either revert the code, or change the filename and use your backup.

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.