You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run it with python3 evaluate.py --landlord rlcard --landlord_up baselines/douzero_ADP/landlord_up.ckpt --landlord_down baselines/douzero_ADP/landlord_down.ckpt
and I get this error:
Traceback (most recent call last):
File "/DouZero-main/douzero/evaluation/rlcard_agent.py", line 62, in act
the_type = CARD_TYPE[0][last_move][0][0]
KeyError: '666777BR'
The text was updated successfully, but these errors were encountered:
@orange90 This is because of a minor difference between DouZero environment and RLCard environment. Specifically, DouZero allows XXXYYYBR, that is, both black and red jokers appear. But RLCard does not treat it as legal action. Whether or not this is legal is controversial in itself. Fortunately, this is a very very rare case. So I have just updated the code to skip this error, which will not affect the result much. Please try again.
I run it with
python3 evaluate.py --landlord rlcard --landlord_up baselines/douzero_ADP/landlord_up.ckpt --landlord_down baselines/douzero_ADP/landlord_down.ckpt
and I get this error:
Traceback (most recent call last):
File "/DouZero-main/douzero/evaluation/rlcard_agent.py", line 62, in act
the_type = CARD_TYPE[0][last_move][0][0]
KeyError: '666777BR'
The text was updated successfully, but these errors were encountered: