Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This doesn't seem to work for me. I ran "python person_blocker.py -i images/img1.jpg -l" after installing dependencies and I only get:

/home/d33tah/virtualenv-py3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.

  from ._conv import register_converters as _register_converters
Using TensorFlow backend.

2018-03-31 12:53:18.777911: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA /usr/lib/python3/dist-packages/scipy/misc/pilutil.py:480: FutureWarning: Conversion of the second argument of issubdtype from `int` to `np.signedinteger` is deprecated. In future, it will be treated as `np.int64 == np.dtype(int).type`.

  if issubdtype(ts, int):

/usr/lib/python3/dist-packages/scipy/misc/pilutil.py:483: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.

  elif issubdtype(type(size), float):


Author here: All of these are warnings, they shouldn't block the script. Check the current directory for person_blocked.jpg and person_blocked.gif.


Thanks! That helped.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: