Code Monkey home page Code Monkey logo

dockerized-yolov3-coco's People

Contributors

dependabot[bot] avatar moshfiqur avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dockerized-yolov3-coco's Issues

WORKER TIMEOUT

run for mac 10.13.6
docker Version 2.0.0.0-mac81 (29211) Engine: 18.09.0

[2019-01-08 00:55:51 +0000] [1] [INFO] Starting gunicorn 19.9.0
[2019-01-08 00:55:51 +0000] [1] [INFO] Listening at: http://0.0.0.0:10080 (1)
[2019-01-08 00:55:51 +0000] [1] [INFO] Using worker: sync
[2019-01-08 00:55:51 +0000] [8] [INFO] Booting worker with pid: 8
[2019-01-08 00:55:51 +0000] [10] [INFO] Booting worker with pid: 10
[2019-01-08 00:56:22 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:8)
[2019-01-08 00:56:22 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:10)
Using TensorFlow backend.
[2019-01-08 00:56:22 +0000] [8] [INFO] Worker exiting (pid: 8)
Using TensorFlow backend.
[2019-01-08 00:56:22 +0000] [10] [INFO] Worker exiting (pid: 10)
/usr/src/app/yolov3-coco/yolov3_coco.h5 model, anchors, and classes loaded.
/usr/src/app/yolov3-coco/yolov3_coco.h5 model, anchors, and classes loaded.
[2019-01-08 00:56:23 +0000] [72] [INFO] Booting worker with pid: 72
[2019-01-08 00:56:23 +0000] [74] [INFO] Booting worker with pid: 74
[2019-01-08 00:56:53 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:72)
[2019-01-08 00:56:53 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:74)
[2019-01-08 00:56:54 +0000] [136] [INFO] Booting worker with pid: 136
[2019-01-08 00:56:54 +0000] [137] [INFO] Booting worker with pid: 137
[2019-01-08 00:57:25 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:136)
[2019-01-08 00:57:25 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:137)
[2019-01-08 00:57:26 +0000] [200] [INFO] Booting worker with pid: 200
[2019-01-08 00:57:26 +0000] [202] [INFO] Booting worker with pid: 202

Build timeout

$ docker build -t yolov3-coco .
Sending build context to Docker daemon 187.9kB
Step 1/8 : FROM python:3.6
3.6: Pulling from library/python
0e29546d541c: Pull complete
9b829c73b52b: Pull complete
cb5b7ae36172: Pull complete
6494e4811622: Pull complete
6f9f74896dfa: Pull complete
5e3b1213efc5: Pull complete
9fddfdc56334: Pull complete
404f02044bac: Pull complete
c4f42be2be53: Pull complete
Digest: sha256:f8652afaf88c25f0d22354d547d892591067aa4026a7fa9a6819df9f300af6fc
Status: Downloaded newer image for python:3.6
---> 54260638d07c
Step 2/8 : MAINTAINER Moshfiqur Rahman [email protected]
---> Running in 96ab264952a4
Removing intermediate container 96ab264952a4
---> 73f636adae5b
Step 3/8 : COPY app/requirements.txt /usr/src/app/
---> 79444f74d187
Step 4/8 : WORKDIR /usr/src/app
---> Running in feabf123fbf1
Removing intermediate container feabf123fbf1
---> c25b8f0e2421
Step 5/8 : RUN pip install -r requirements.txt
---> Running in 17d8608ad634
Collecting absl-py==0.6.1
Downloading absl-py-0.6.1.tar.gz (94 kB)
Collecting astor==0.7.1
Downloading astor-0.7.1-py2.py3-none-any.whl (27 kB)
Collecting cycler==0.10.0
Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting gast==0.2.0
Downloading gast-0.2.0.tar.gz (9.4 kB)
Collecting grpcio==1.17.1
Downloading grpcio-1.17.1-cp36-cp36m-manylinux1_x86_64.whl (10.1 MB)
Collecting gunicorn==19.9.0
Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 kB)
Collecting h5py==2.9.0
Downloading h5py-2.9.0-cp36-cp36m-manylinux1_x86_64.whl (2.8 MB)
Collecting Keras==2.2.4
Downloading Keras-2.2.4-py2.py3-none-any.whl (312 kB)
Collecting Keras-Applications==1.0.6
Downloading Keras_Applications-1.0.6-py2.py3-none-any.whl (44 kB)
Collecting Keras-Preprocessing==1.0.5
Downloading Keras_Preprocessing-1.0.5-py2.py3-none-any.whl (30 kB)
Collecting kiwisolver==1.0.1
Downloading kiwisolver-1.0.1-cp36-cp36m-manylinux1_x86_64.whl (949 kB)
Collecting Markdown==3.0.1
Downloading Markdown-3.0.1-py2.py3-none-any.whl (89 kB)
Collecting matplotlib==3.0.2
Downloading matplotlib-3.0.2-cp36-cp36m-manylinux1_x86_64.whl (12.9 MB)
Collecting numpy==1.15.4
Downloading numpy-1.15.4-cp36-cp36m-manylinux1_x86_64.whl (13.9 MB)
Collecting opencv-python==3.4.4.19
Downloading opencv_python-3.4.4.19-cp36-cp36m-manylinux1_x86_64.whl (25.4 MB)
Collecting Pillow==6.2.0
Downloading Pillow-6.2.0-cp36-cp36m-manylinux1_x86_64.whl (2.1 MB)
Collecting protobuf==3.6.1
Downloading protobuf-3.6.1-cp36-cp36m-manylinux1_x86_64.whl (1.1 MB)
Collecting pyparsing==2.3.0
Downloading pyparsing-2.3.0-py2.py3-none-any.whl (59 kB)
Collecting python-dateutil==2.7.5
Downloading python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB)
Collecting PyYAML
Downloading PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
Collecting scipy==1.2.0
Downloading scipy-1.2.0-cp36-cp36m-manylinux1_x86_64.whl (26.6 MB)
Collecting six==1.12.0
Downloading six-1.12.0-py2.py3-none-any.whl (10 kB)
Collecting tensorboard
Downloading tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Collecting tensorflow
Downloading tensorflow-2.6.2-cp36-cp36m-manylinux2010_x86_64.whl (458.3 MB)
Collecting termcolor==1.1.0
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting Werkzeug
Downloading Werkzeug-2.0.3-py3-none-any.whl (289 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from kiwisolver==1.0.1->-r requirements.txt (line 11)) (57.5.0)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
Downloading tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl (4.9 MB)
Collecting tensorboard-plugin-wit>=1.6.0
Downloading tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting tensorboard
Downloading tensorboard-2.10.0-py3-none-any.whl (5.9 MB)
Downloading tensorboard-2.9.1-py3-none-any.whl (5.8 MB)
Downloading tensorboard-2.9.0-py3-none-any.whl (5.8 MB)
Downloading tensorboard-2.8.0-py3-none-any.whl (5.8 MB)
Downloading tensorboard-2.7.0-py3-none-any.whl (5.8 MB)
Downloading tensorboard-2.6.0-py3-none-any.whl (5.6 MB)
Collecting google-auth<2,>=1.6.3
Downloading google_auth-1.35.0-py2.py3-none-any.whl (152 kB)
Collecting tensorboard
Downloading tensorboard-2.5.0-py3-none-any.whl (6.0 MB)
Downloading tensorboard-2.4.1-py3-none-any.whl (10.6 MB)
Downloading tensorboard-2.4.0-py3-none-any.whl (10.6 MB)
Downloading tensorboard-2.3.0-py3-none-any.whl (6.8 MB)
Downloading tensorboard-2.2.2-py3-none-any.whl (3.0 MB)
Downloading tensorboard-2.2.1-py3-none-any.whl (3.0 MB)
Downloading tensorboard-2.2.0-py3-none-any.whl (2.8 MB)
Downloading tensorboard-2.1.1-py3-none-any.whl (3.8 MB)
Downloading tensorboard-2.1.0-py3-none-any.whl (3.8 MB)
Downloading tensorboard-2.0.2-py3-none-any.whl (3.8 MB)
Downloading tensorboard-2.0.1-py3-none-any.whl (3.8 MB)
Downloading tensorboard-2.0.0-py3-none-any.whl (3.8 MB)
Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.6/site-packages (from tensorboard->-r requirements.txt (line 23)) (0.37.0)
Collecting tensorflow
Downloading tensorflow-2.6.1-cp36-cp36m-manylinux2010_x86_64.whl (458.3 MB)
Downloading tensorflow-2.6.0-cp36-cp36m-manylinux2010_x86_64.whl (458.3 MB)
Downloading tensorflow-2.5.2-cp36-cp36m-manylinux2010_x86_64.whl (454.3 MB)
Downloading tensorflow-2.5.1-cp36-cp36m-manylinux2010_x86_64.whl (454.3 MB)
Downloading tensorflow-2.5.0-cp36-cp36m-manylinux2010_x86_64.whl (454.3 MB)
Downloading tensorflow-2.4.4-cp36-cp36m-manylinux2010_x86_64.whl (394.5 MB)
ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
yield
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/local/lib/python3.6/http/client.py", line 467, in read
n = self.readinto(b)
File "/usr/local/lib/python3.6/http/client.py", line 511, in readinto
n = self.fp.readinto(b)
File "/usr/local/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/usr/local/lib/python3.6/ssl.py", line 1012, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/lib/python3.6/ssl.py", line 874, in read
return self._sslobj.read(len, buffer)
File "/usr/local/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
return func(self, options, args)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 316, in run
reqs, check_supported_wheels=not options.target_dir
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve
collected.requirements, max_rounds=try_to_avoid_resolution_too_deep
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 472, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 366, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 210, in _attempt_to_pin_criterion
for candidate in criterion.candidates:
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 128, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 32, in _iter_built
candidate = func()
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 209, in _make_candidate_from_link
version=version,
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in init
version=version,
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in init
self.dist = self._prepare()
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 227, in _prepare
dist = self._prepare_distribution()
File "/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in _prepare_distribution
self._ireq, parallel_builds=True
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 508, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 552, in _prepare_linked_requirement
self.download_dir, hashes
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 243, in unpack_url
hashes=hashes,
File "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 102, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/download.py", line 145, in call
for chunk in chunks:
File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/progress_bars.py", line 144, in iter
for x in it:
File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/utils.py", line 87, in response_chunks
decode_content=False,
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/local/lib/python3.6/contextlib.py", line 99, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.