tensorforce: Adding a summarizer results in a NotFoundError
I haven’t been able to add a summarizer to my PPO Agent object. The settings I used are (although I did try other configurations without success):
summarizer=dict(
directory='./logs-tensorboard',
steps=50,
labels=['losses']
)
And running this results in the following error:
tensorflow.python.framework.errors_impl.NotFoundError: Resource localhost/logdir:./logs-tensorboard/class tensorflow::SummaryWriterInterface does not exist.
Maybe this is related to https://github.com/reinforceio/tensorforce/issues/415, although I did not test my code with a tensorforce version prior to the fix for that issue. This might also just be something I missed from the documentation!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (9 by maintainers)
I’ve had a similar issue. Adding
'graph'to thelabelssolved it, i.e.Summaries work with the new branch (
major-revision), which will be merged with master soon, hence already closing summary-related issues. Currently supported labels:Others will be added, and please feel free to post specific requests here.