Virtual-Makeup icon indicating copy to clipboard operation
Virtual-Makeup copied to clipboard

Cannot run python eyeshadow.py

Open kirthu30 opened this issue 7 years ago • 0 comments

/usr/local/lib/python2.7/dist-packages/numpy/core/numeric.py:190: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
  a = empty(shape, dtype, order)
eyeshadow.py:127: VisibleDeprecationWarning: non integer (and non boolean) array-likes will not be accepted as indices in the future
  val = color.rgb2lab((im[x,y]/255.).reshape(len(x),1,3)).reshape(len(x),3)
eyeshadow.py:132: VisibleDeprecationWarning: non integer (and non boolean) array-likes will not be accepted as indices in the future
  rgbmean = (im[x,y])
Traceback (most recent call last):
  File "eyeshadow.py", line 145, in <module>
    image_blank *= 0
ValueError: output array is read-only

kirthu30 avatar Mar 09 '18 08:03 kirthu30