btwardow / tf-face-recognition

Ral-Time Tensor Flow Face Detection and Recognition
MIT License
67 stars 20 forks source link

Not accessible on browser #1

Closed suarkadipa closed 6 years ago

suarkadipa commented 6 years ago

after type -> docker run -it --rm -p 5000:5000 btwardow/tf-face-recognition:1.0.0

it logs /usr/local/lib/python3.5/dist-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 2018-06-29 02:22:07.981537: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 Model filename: /root/pretrained_models/20180402-114759/20180402-114759.pb

but tried to access it based on top log to https://0.0.0.0:5000/, is not accessible, tried on https://localhost:5000/ is not accessible as well

I'm running on windows 10 Python 3.6.2 TensorFlow 1.8.0

Thank you

btwardow commented 6 years ago

Hi,

The version of the python and TF on your host machine doesn't matter, as everything run from the docker container. That's the main point of dockerization - make it easily reproducible.

From the logs it seems that the application is initialized and run correctly.

I would investigate if the port 5000 from the container is properly bind to host machine. You can try few things:

Sorry, but I don't know details of network interfaces for win10. Have you had similar problems with different containers before?

btwardow commented 6 years ago

Ping @suarkadipa Does it solved your problem?