quantumiracle / nash-dqn

Official code of Nash-DQN for paper: Nash-DQN algorithm for two-player zero-sum Markov games, details see our paper: A Deep Reinforcement Learning Approach for Finding Non-Exploitable Strategies in Two-Player Atari Games. Zihan Ding, Dijia Su, Qinghua Liu, Chi Jin
16 stars 2 forks source link

NameError: name 'boxing_v2' is not defined #2

Closed hwz9612 closed 1 year ago

hwz9612 commented 1 year ago

Hi, When I executed the following command, I encountered the problem. python launch.py --env pettingzoo_boxing_v2 --method nash_dqn The problem: Traceback (most recent call last): File "/home/heweizhen/exper_code/nash-dqn/launch.py", line 169, in <module> env = eval(args.env_name).parallel_env(obs_type=obs_type, full_action_space=False) File "<string>", line 1, in <module> NameError: name 'boxing_v2' is not defined According to your offered requirement.txt, I have installed the gym==0.22.0 What can I do?

hwz9612 commented 1 year ago

Hi, I have solved this problem. Thanks.

time-TT commented 6 months ago

How was this problem solved