代码拉取完成,页面将自动刷新
# rllib patch
from shutil import copyfile
import os
# show all the stats in terminal, not just one third
dqn_src = "copy_to_rllib/agents/dqn/dqn.py"
dqn_dst = "../agents/dqn/dqn.py"
copyfile(dqn_src, dqn_dst)
# human demonstrations & dynamic experience replay
async_src = "copy_to_rllib/optimizers/async_replay_optimizer.py"
async_dst = "../optimizers/async_replay_optimizer.py"
copyfile(async_src, async_dst)
buffer_src = "copy_to_rllib/optimizers/replay_buffer.py"
buffer_dst = "../optimizers/replay_buffer.py"
copyfile(buffer_src, buffer_dst)
# calculate the custom metrics for one transition,
# not the historic transitions designed by Ray
metrics_src = "copy_to_rllib/evaluation/metrics.py"
metrics_dst = "../evaluation/metrics.py"
copyfile(metrics_src, metrics_dst)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。