You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by "Thomas Delteil (JIRA)" <ji...@apache.org> on 2018/06/19 05:52:00 UTC

[jira] [Created] (MXNET-558) Cannot use MXNet with Ray or django

Thomas Delteil created MXNET-558:
------------------------------------

             Summary: Cannot use MXNet with Ray or django
                 Key: MXNET-558
                 URL: https://issues.apache.org/jira/browse/MXNET-558
             Project: Apache MXNet
          Issue Type: Improvement
            Reporter: Thomas Delteil


|Example of stacktrace
Traceback (most recent call last):
File "/venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/server/posts/views.py", line 28, in index
net = model_zoo.get_model('ssd_512_resnet50_v1_voc', pretrained=True)
File "/venv/lib/python3.6/site-packages/gluoncv/model_zoo/model_zoo.py", line 60, in get_model
net = models[name|https://github.com/dmlc/gluon-cv/issues/**kwargs]
File "/venv/lib/python3.6/site-packages/gluoncv/model_zoo/ssd/ssd.py", line 340, in ssd_512_resnet50_v1_voc
pretrained_base=pretrained_base, **kwargs)
File "/venv/lib/python3.6/site-packages/gluoncv/model_zoo/ssd/ssd.py", line 236, in get_ssd
pretrained=pretrained_base, classes=classes, **kwargs)
File "/venv/lib/python3.6/site-packages/gluoncv/model_zoo/ssd/ssd.py", line 92, in *init*
super(SSD, self).*init*(**kwargs)
File "/venv/lib/python3.6/site-packages/mxnet/gluon/block.py", line 621, in *init*
super(HybridBlock, self).*init*(prefix=prefix, params=params)
File "/venv/lib/python3.6/site-packages/mxnet/gluon/block.py", line 171, in *init*
self._prefix, self._params = _BlockScope.create(prefix, params, self._alias())
File "/venv/lib/python3.6/site-packages/mxnet/gluon/block.py", line 53, in create
prefix = _name.NameManager._current.value.get(None, hint) + '_'
AttributeError: '_thread._local' object has no attribute 'value'|
 
 
[!https://avatars3.githubusercontent.com/u/3307514?s=88&v=4|width=44,height=44!|https://github.com/zhreshold]
 Member



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org