Kismuz / btgym

Scalable, event-driven, deep-learning-friendly backtesting library
https://kismuz.github.io/btgym/
GNU Lesser General Public License v3.0
984 stars 260 forks source link

How to render when using Launcher #69

Closed snipe75 closed 6 years ago

snipe75 commented 6 years ago

Hello, I've been running the guided A3C notebook example and I'm wondering how to render the results ? engine.render() returns "AttributeError: 'Cerebro' object has no attribute '_exactbars'". How to plot in general when using Launcher ?

Thanks and best regards

Kismuz commented 6 years ago

@snipe75, when Launcher framework is used, all the renderings are collected via summaries mechanism of tensorflow, get stored in summaries directory and displayed by tensorboard monitor under 'images' tab. If you want so save some of it as image file, tensorboard pages provide direct links. Same is true for all other summaries. Refer to tensorflow/tensorboard manual if you need fruther details.

snipe75 commented 6 years ago

Great, thanks for the quick response !