Traceback (most recent call last):
File "C:\Users\user\Desktop\BCQ-master\BCQ-master\discrete_BCQ\main.py", line 297, in
train_BCQ(env, replay_buffer, is_atari, num_actions, state_dim, device, args, parameters)
File "C:\Users\user\Desktop\BCQ-master\BCQ-master\discrete_BCQ\main.py", line 144, in train_BCQ
replay_buffer.load(f"./buffers/{buffer_name}")
File "C:\Users\user\Desktop\BCQ-master\BCQ-master\discrete_BCQ\utils.py", line 110, in load
reward_buffer = np.load(f"{save_folder}_reward.npy")
File "D:\anconda\envs\pytorch\lib\site-packages\numpy\lib\npyio.py", line 405, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: './buffers/Default_PongNoFrameskip-v0_0_reward.npy'
Traceback (most recent call last): File "C:\Users\user\Desktop\BCQ-master\BCQ-master\discrete_BCQ\main.py", line 297, in
train_BCQ(env, replay_buffer, is_atari, num_actions, state_dim, device, args, parameters)
File "C:\Users\user\Desktop\BCQ-master\BCQ-master\discrete_BCQ\main.py", line 144, in train_BCQ
replay_buffer.load(f"./buffers/{buffer_name}")
File "C:\Users\user\Desktop\BCQ-master\BCQ-master\discrete_BCQ\utils.py", line 110, in load
reward_buffer = np.load(f"{save_folder}_reward.npy")
File "D:\anconda\envs\pytorch\lib\site-packages\numpy\lib\npyio.py", line 405, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: './buffers/Default_PongNoFrameskip-v0_0_reward.npy'
进程已结束,退出代码1