IBM / rl-testbed-for-energyplus

Reinforcement Learning Testbed for Power Consumption Optimization using EnergyPlus
MIT License
179 stars 74 forks source link

First line of monitoring file not being written #6

Closed antoine-galataud closed 5 years ago

antoine-galataud commented 5 years ago

Intermittently, header line in monitoring file isn't written after executing python3 -m baselines_energyplus.trpo_mpi.run_energyplus --num-timesteps.

Just added a flush() instruction so we can avoid having assertion errors when running python3 -m baselines_energyplus.common.plot_energyplus

Signed-off-by: Antoine Galataud antoine@foobot.io

takaomoriyama commented 5 years ago

Thanks for reporting the issue.