photomatix
n3wb
Sorry if this post is long. I wanted to include as much detail as possible with the issue I'm having.
I can't imagine that I'm the only person having this issue, but I can't seem to find any mentions about it in this thread.
For some reason, I can't get the docker image or the Windows install of Deepstack to work. Both have different issues.
On docker, when I run it, it creates the container as you'd expect, but then stops here:
If I cancel it, the container remains and partially works. The web server works for deepstack however the actually AI server itself doesn't function. The AI tool cannot communicate with it. I've turned off firewalls, tried running docker on the same machine and a remote machine, and everything else I can think of.
On the Windows side, when I use the deepstack Windows server, it runs as you'd expect but I get this error in the AI tool log:
I've tried running the server both manually or having the AI tool start the server. When the AI server starts the server, I get this in the log:
I have no idea what that means, but I suspect the Python.exe is the "part" of the partial server AI tool says isn't running. I don't see it in task manager while I see the other two EXEs.
I've tried several versions of the AI tool and I'm currently on version 1.67.8.33855. Any help would be appreciated; I'm about to pull my hair out trying to make this silly thing work!
I can't imagine that I'm the only person having this issue, but I can't seem to find any mentions about it in this thread.
For some reason, I can't get the docker image or the Windows install of Deepstack to work. Both have different issues.
On docker, when I run it, it creates the container as you'd expect, but then stops here:
Code:
docker run --restart=always -e VISION-DETECTION=True -v localstorage:/datastore -p 83:5000 --name deepstack deepquestai/deepstack
/v1/vision/detection
---------------------------------------
v1/vision/addmodel
---------------------------------------
v1/vision/listmodels
---------------------------------------
v1/vision/deletemodel
---------------------------------------
---------------------------------------
v1/backup
---------------------------------------
v1/restore
On the Windows side, when I use the deepstack Windows server, it runs as you'd expect but I get this error in the AI tool log:
Code:
Error: Deepstack partially running. You many (typo in the program :) ) need to manually kill server.exe, python.exe, redis-server.exe
Code:
[19.10.2020, 22:07:29.072]: DeepStack> Redis-server.exe> [14868] 19 Oct 22:07:29 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
[19.10.2020, 22:07:31.577]: DeepStack> Python.exe> ERROR: Traceback (most recent call last):
[19.10.2020, 22:07:31.582]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\interpreter\packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
[19.10.2020, 22:07:31.586]: DeepStack> Python.exe> ERROR: from tensorflow.python.pywrap_tensorflow_internal import *
[19.10.2020, 22:07:31.590]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\interpreter\packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
[19.10.2020, 22:07:31.593]: DeepStack> Python.exe> ERROR: _pywrap_tensorflow_internal = swig_import_helper()
[19.10.2020, 22:07:31.597]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\interpreter\packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
[19.10.2020, 22:07:31.601]: DeepStack> Python.exe> ERROR: _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
[19.10.2020, 22:07:31.604]: DeepStack> Python.exe> ERROR: File "imp.py", line 242, in load_module
[19.10.2020, 22:07:31.608]: DeepStack> Python.exe> ERROR: File "imp.py", line 342, in load_dynamic
[19.10.2020, 22:07:31.612]: DeepStack> Python.exe> ERROR: ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
[19.10.2020, 22:07:31.615]: DeepStack> Python.exe> ERROR: During handling of the above exception, another exception occurred:
[19.10.2020, 22:07:31.620]: DeepStack> Python.exe> ERROR: Traceback (most recent call last):
[19.10.2020, 22:07:31.623]: DeepStack> Python.exe> ERROR: File "../intelligence.py", line 13, in <module>
[19.10.2020, 22:07:31.626]: DeepStack> Python.exe> ERROR: from sharedintelligence.commons import preprocess
[19.10.2020, 22:07:31.630]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\sharedintelligence\__init__.py", line 5, in <module>
[19.10.2020, 22:07:31.634]: DeepStack> Python.exe> ERROR: from .detection3 import DetectModel3
[19.10.2020, 22:07:31.637]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\sharedintelligence\detection3\__init__.py", line 1, in <module>
[19.10.2020, 22:07:31.640]: DeepStack> Python.exe> ERROR: from .process import DetectModel3
[19.10.2020, 22:07:31.643]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\sharedintelligence\detection3\process.py", line 1, in <module>
[19.10.2020, 22:07:31.646]: DeepStack> Python.exe> ERROR: from .utils import read_pb_return_tensors,cpu_nms
[19.10.2020, 22:07:31.651]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\sharedintelligence\detection3\utils.py", line 1, in <module>
[19.10.2020, 22:07:31.654]: DeepStack> Python.exe> ERROR: import tensorflow as tf
[19.10.2020, 22:07:31.659]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\interpreter\packages\tensorflow\__init__.py", line 24, in <module>
[19.10.2020, 22:07:31.662]: DeepStack> Python.exe> ERROR: from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
[19.10.2020, 22:07:31.666]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\interpreter\packages\tensorflow\python\__init__.py", line 49, in <module>
[19.10.2020, 22:07:31.670]: DeepStack> Python.exe> ERROR: from tensorflow.python import pywrap_tensorflow
[19.10.2020, 22:07:31.674]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\interpreter\packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
[19.10.2020, 22:07:31.678]: DeepStack> Python.exe> ERROR: raise ImportError(msg)
[19.10.2020, 22:07:31.682]: DeepStack> Python.exe> ERROR: ImportError: Traceback (most recent call last):
[19.10.2020, 22:07:31.685]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\interpreter\packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
[19.10.2020, 22:07:31.689]: DeepStack> Python.exe> ERROR: from tensorflow.python.pywrap_tensorflow_internal import *
[19.10.2020, 22:07:31.692]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\interpreter\packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
[19.10.2020, 22:07:31.696]: DeepStack> Python.exe> ERROR: _pywrap_tensorflow_internal = swig_import_helper()
[19.10.2020, 22:07:31.699]: DeepStack> Python.exe> ERROR: File "C:\DeepStack\interpreter\packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
[19.10.2020, 22:07:31.706]: DeepStack> Python.exe> ERROR: _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
[19.10.2020, 22:07:31.710]: DeepStack> Python.exe> ERROR: File "imp.py", line 242, in load_module
[19.10.2020, 22:07:31.714]: DeepStack> Python.exe> ERROR: File "imp.py", line 342, in load_dynamic
[19.10.2020, 22:07:31.717]: DeepStack> Python.exe> ERROR: ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
[19.10.2020, 22:07:31.721]: DeepStack> Python.exe> ERROR: Failed to load the native TensorFlow runtime.
[19.10.2020, 22:07:31.724]: DeepStack> Python.exe> ERROR: See https://www.tensorflow.org/install/errors
[19.10.2020, 22:07:31.727]: DeepStack> Python.exe> ERROR: for some common reasons and solutions. Include the entire stack trace
[19.10.2020, 22:07:31.731]: DeepStack> Python.exe> ERROR: above this error message when asking for help.
[19.10.2020, 22:07:31.734]: DeepStack> Process exited: Name='Main:Python.exe', ExitCode='1 (Process killed or exited with error)', Runtime='2669'ms
I've tried several versions of the AI tool and I'm currently on version 1.67.8.33855. Any help would be appreciated; I'm about to pull my hair out trying to make this silly thing work!