摘要:
def to_array_as(x, y): if isinstance(x, torch.Tensor) and isinstance(y, np.ndarray): return x.detach().cpu().numpy().astype(y.dtype) elif isinstance(x 阅读全文
posted @ 2022-04-30 21:33
呦呦南山
阅读(28)
评论(0)
推荐(0)
摘要:
配置强化学习常用的Atari环境时,出现以下错误:Exception: ROM is missing for xxxx, see https://github.com/openai/atari-py 方法一按照错误提示,我们进入此网页https://github.com/openai/atari-p 阅读全文
posted @ 2022-04-30 20:46
呦呦南山
阅读(497)
评论(0)
推荐(0)
浙公网安备 33010602011771号