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.