01 2022 档案
摘要:注意:dm_control在安装时,需要首先安装mujoco,但在安装了mujoco后,需要在 .mujoco文件中把 mujoco200 复制为 mujoco200_linux,否则dm_control无法识别mujoco的安装路径。
阅读全文
摘要:atari中的 AtariPreprocessing 类中,是通过self.env.ale.getScreenGrayscale来传入当前屏幕的灰度图。
阅读全文
摘要:from pathlib import Path 获取当前的绝对路径 : Path.cwd()
阅读全文
摘要:class ExtendedTimeStep(NamedTuple): # step_type: Any # reward: Any # discount: Any # observation: Any # action: Any def __init__(self, step_type, rewa
阅读全文
摘要:根据PPO中的算法,经过测试,发现 obs_batch = self.obs[:-1].view(-1, *self.obs.size()[2:])[indices]其中, self.obs.size()[2:].shape = (4,84,84)self.obs[:-1].shape = (128
阅读全文
摘要:安装requirements: absl-py==0.15.0argcomplete==1.12.3astunparse==1.6.3atari-py==0.2.5boto==2.49.0cached-property==1.5.2cachetools==4.2.4certifi==2021.10.
阅读全文
摘要:为避免每次启动时都要手动更改环境,可在vim ~/.zshrc中的最后添加: source ~/ai3/bin/activate
阅读全文