摘要: def load_data_from_gfootball(args): data_path = "/home/longfei-fwxz/offline-rl/offline/datasets/gfootball/data/0890.pkl" print("args:",args) # envs = 阅读全文
posted @ 2021-09-18 17:47 呦呦南山 阅读(81) 评论(0) 推荐(0) 编辑
摘要: (data["next_obs"][i] != data["obs"][i+1]).all() 用.all()即可 阅读全文
posted @ 2021-09-18 17:38 呦呦南山 阅读(161) 评论(0) 推荐(0) 编辑
摘要: import osimport sysfrom pathlib import Pathsys.path.append("..")current_dir = os.path.abspath(os.path.dirname(__file__))parent_path = os.path.dirname( 阅读全文
posted @ 2021-09-18 00:07 呦呦南山 阅读(24) 评论(0) 推荐(0) 编辑