matthewearl / faceswap

Python script to put facial features from one face onto another
MIT License
1.4k stars 496 forks source link

Line 197 changed to make it work with the latest numpy version #7

Closed ujjwalgulecha closed 6 years ago

ujjwalgulecha commented 8 years ago

Latest numpy does not handle short hand notation. After making this change, the code works

matthewearl commented 8 years ago

Looking at the documentation for ndarray.iadd it seems the casting behaviour for x += y is slightly different to x = x + y, which makes me suspect this is the same issue as #5. Can you try pulling in this fix to see if it makes your issue go away?