Hello,
Im having issues with the life execution of the LSTM Model. The think is really odd, because, the algo works perfectly and runs without any issue in for the Backtests.
The thing is, that whenever I try to deploy it, this error appears.
2021-11-02 06:27:58 :Runtime Error: ValueError : Tensor Tensor("dense_1/BiasAdd:0", shape=(?, 1), dtype=float32) is not an element of this graph. at _as_graph_element_locked raise ValueError("Tensor %s is not an element of this graph." % obj) File "ops.py" in ops.py: line 3685 : StackTrace: ValueError : Tensor Tensor("dense_1/BiasAdd:0", shape=(?, 1), dtype=float32) is not an element of this graph. at _as_graph_element_locked raise ValueError("Tensor %s is not an element of this graph." % obj) File "ops.py" in ops.py: line 3685I don't know exactly what may cause this issue, do you have any idea, of what might be going on?
Varad Kabade
Hi Álvaro Anton Blanco,
We call the model inside a scheduled event that runs on a separate thread during live trading in the above algorithm.
We suggest trying to address the issue using the features of the following snippet that we have found on https://github.com/keras-team/keras/issues/10431.
For issues with live trading, please get in touch with support@quantconnect.com with the live deployment attached.
Best,
Varad Kabade
Álvaro Anton Blanco
Hello Varad,
thanks for the answer. Is someone reading the support? I've addressed the issue, but no one is replying.
Best
Álvaro
Vladimir
Álvaro Anton Blanco.
-> Is someone reading the support? I've addressed the issue, but no one is replying.
Don't worry.
If they haven't answered yet, then they are busy with other things.
BTW. You have not responding to my answer on your question for 17 days.
Álvaro Anton Blanco
Sorry @Vladimir,
my mistake, already answered and accepted! Thank you so much!!! And sorry for the delay!
Best
Álvaro
Álvaro Anton Blanco
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!