mycroft-precise: "precise-listen XXX.net" AttributeError
Hello, I have been given the following attribute error from running precise-listen
Environment: Mac OS X 10.13.2, installed play command, already trained xxx.net
Output:
(.venv) mycroft-precise >precise-listen hey-xiaoyao.net
/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
Using TensorFlow backend.
WARNING:tensorflow:From /Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/tensorflow/python/ops/resource_variable_ops.py:435: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/anaconda3/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/runner/precise_runner/runner.py", line 236, in _handle_predictions
prob = self.engine.get_prediction(chunk)
File "/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/precise/scripts/listen.py", line 87, in get_prediction
return listener.update(chunk)
File "/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/precise/network_runner.py", line 139, in update
raw_output = self.runner.run(mfccs)
File "/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/precise/network_runner.py", line 82, in run
return self.predict(inp[np.newaxis])[0][0]
File "/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/precise/network_runner.py", line 79, in predict
return self.model.predict(inputs)
File "/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/keras/engine/training.py", line 1456, in predict
self._make_predict_function()
File "/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/keras/engine/training.py", line 378, in _make_predict_function
**kwargs)
File "/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/keras/engine/network.py", line 323, in __setattr__
super(Network, self).__setattr__(name, value)
File "/Users/tonyTan/PentestGoGo/raspPi/mycroft-precise/.venv/lib/python3.6/site-packages/keras/engine/base_layer.py", line 1215, in __setattr__
if not _DISABLE_TRACKING.value:
AttributeError: '_thread._local' object has no attribute 'value'
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 2
- Comments: 15
what does that mean?
And which variable was uninitialized ?