Tensorflow-2-Reinforcement-Learning-Cookbook icon indicating copy to clipboard operation
Tensorflow-2-Reinforcement-Learning-Cookbook copied to clipboard

sac_agent render error

Open rajni1624 opened this issue 2 years ago • 1 comments

@praveen-palanisamy I am unable to create render from trading_utils.py, not creating any charts in crypto_trading_continuous_env, neither in sac_agent. Using the same code given in the source directory. Please help

rajni1624 avatar May 10 '23 08:05 rajni1624

Hi @rajni1624 , Apologies for the delayed response. Just got to your message. What error are you getting? Assuming you were just not seeing any plots/charts rendered, Let's identify and fix your issue step-by-step:

  1. Could you please confirm if you are able to run this IPython Notebook: Chapter04/crypto_trading_visual_env.ipynb and see the visualizations as shown in the last cell's output? If that does not work, could you please share the output that you are getting?

  2. If that works as expected, You can then run this Notebook: Chapter04/crypto_trading_visual_continuous_env.ipynb to confirm if the charts work as expected in your python environment. Please share your outputs to identify any issue.

  3. Finally, if both the above work but running the Python script: Chapter04/crypto_trading_visual_continuous_env.py directly does not work, it could be due to rendering/display setup on your machine. Are you by chance running it on a remote console with no display forwarding/attached?

praveen-palanisamy avatar Sep 19 '23 02:09 praveen-palanisamy