Closed mateuspestana closed 2 years ago
Hi @mateuspestana!
This particular issue is due to your version of opencv
package being not compatible with DeepFaceLab code. As a temporary workaround you can edit the /Users/mateuspestana/Downloads/DeepFaceLab_MacOS/.dfl/DeepFaceLab/core/imagelib/warp.py
file and change the line
random_transform_mat = cv2.getRotationMatrix2D((w // 2, w // 2), rotation, scale)
to
random_transform_mat = cv2.getRotationMatrix2D((w // 2.0, w // 2.0), rotation, scale)
@mateuspestana did you get chance to try the ^^ workaround?
Just tried it and started training. By now, it's working flawlessly. Thanks!
Hi! When I train my model, I'm getting this error:
Does anyone knows how to solve it? Oh, I'm using an M1 Pro.