Skip to content

Fix Tensorboard Compatibility#200

Merged
RaphaelMeudec merged 2 commits intomasterfrom
fix-tensorboard-support
Apr 30, 2018
Merged

Fix Tensorboard Compatibility#200
RaphaelMeudec merged 2 commits intomasterfrom
fix-tensorboard-support

Conversation

@RaphaelMeudec
Copy link
Copy Markdown
Contributor

@RaphaelMeudec RaphaelMeudec commented Apr 29, 2018

Fix Tensorboard compatibility (#78 #141 #188) by using np.float32 variables instead of classic float

@RaphaelMeudec RaphaelMeudec changed the title use np.float32 to fix tensorboard callback Fix Tensorboard Compatibility Apr 29, 2018
Comment thread rl/core.py Outdated
callbacks.on_episode_begin(episode)
episode_step = 0
episode_reward = 0.
episode_step = np.float32(0)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be an int :)

@RaphaelMeudec RaphaelMeudec merged commit ea7218b into master Apr 30, 2018
@RaphaelMeudec RaphaelMeudec deleted the fix-tensorboard-support branch April 30, 2018 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants