Skip to content

执行run_rl.py报错 #293

Open
Open
@skgdz

Description

@skgdz

部署rlcard 后 尝试运行run_rl.py 报错 麻烦问一下 该如何处理
root@ip:~/rlcard/examples# python3 run_rl.py
--> Running on the CPU

Logs saved in experiments/leduc_holdem_dqn_result/
Traceback (most recent call last):
File "run_rl.py", line 181, in
train(args)
File "run_rl.py", line 92, in train
tournament(
File "/root/rlcard/rlcard/utils/utils.py", line 210, in tournament
_, _payoffs = env.run(is_training=False)
File "/root/rlcard/rlcard/envs/env.py", line 149, in run
next_state, next_player_id = self.step(action, self.agents[player_id].use_raw)
AttributeError: 'DQNAgent' object has no attribute 'use_raw'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions