You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/19 06:51:17 UTC
[GitHub] ThomasDelteil commented on issue #11332: [MXNET-558] Fix
'AttributeError: '_thread._local' object has no attribute 'value'' on
distributed processing applications
ThomasDelteil commented on issue #11332: [MXNET-558] Fix 'AttributeError: '_thread._local' object has no attribute 'value'' on distributed processing applications
URL: https://github.com/apache/incubator-mxnet/pull/11332#issuecomment-398293364
```
from threading import Thread
import mxnet as mx
from mxnet import gluon
def threaded_function():
net = gluon.nn.Dense(2)
thread = Thread(target = threaded_function)
thread.start()
thread.join()
```
reproduce the issue, and is fixed with this patch
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services