Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot show picture #11

Open
wuhuhu800 opened this issue May 17, 2018 · 2 comments
Open

Cannot show picture #11

wuhuhu800 opened this issue May 17, 2018 · 2 comments

Comments

@wuhuhu800
Copy link

Hi,
when I run the code on CLI ,like that

python person_blocker.py -i ../data/base/Images/neck_design_labels/ffc52dbfd4a5f8dae71390a68e696dd8.jpg -c '(128, 128, 128)' -o 'neck'

after that ,the CLI just show as follows,but not show any picture,I don't why?

/anaconda/envs/py36/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-05-17 22:23:43.430910: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.2 AVX AVX2 FMA

and my env is as follows:
Mac Os 10.12.6
python 3.6.4
conda 4.5.3
h5py 2.7.1
imageio 2.3.0
ipython 6.2.1
Keras 2.1.4
scipy 1.0.0
scikit-image 0.13.1
tensorflow 1.5.0
matplotlib 2.1.2

@Skagoo
Copy link

Skagoo commented May 17, 2018

As far as I know that is just a warning and can be ignored by adding the following (to person_blocker.py):

import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

@minimaxir
Copy link
Owner

The picture is saved in the directory where you run the script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants