Vincentzyx / DouZero_For_HLDDZ_FullAuto

将DouZero用于欢乐斗地主自动化
Apache License 2.0
680 stars 168 forks source link

运行报错 #10

Open icekylinH opened 2 years ago

icekylinH commented 2 years ago

运行时出现错误,已重置 KeyError(None) Traceback (most recent call last): File "C:\Gametools\DouZero_For_HLDDZ_FullAuto-main\main.py", line 269, in init_cards self.start() File "C:\Gametools\DouZero_For_HLDDZ_FullAuto-main\main.py", line 525, in start self.handle_others(self.RPlayedCardsPos, self.RPlayedCard, "下家") File "C:\Gametools\DouZero_For_HLDDZ_FullAuto-main\main.py", line 379, in handle_others self.env.step(self.user_position, self.other_played_cards_env) File "C:\Gametools\DouZero_For_HLDDZ_FullAuto-main\douzero\env\game.py", line 205, in step self.played_cards[self.acting_player_position] += action KeyError: None