Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOFError: Ran out of input #70

Open
lingyunQAQ opened this issue Jul 20, 2023 · 2 comments
Open

EOFError: Ran out of input #70

lingyunQAQ opened this issue Jul 20, 2023 · 2 comments

Comments

@lingyunQAQ
Copy link

Traceback (most recent call last):
File "/content/drive/MyDrive/DouZero/evaluate.py", line 24, in
evaluate(args.landlord,
File "/content/drive/MyDrive/DouZero/douzero/evaluation/simulation.py", line 48, in evaluate
card_play_data_list = pickle.load(f)
EOFError: Ran out of input

在使用python3 evaluate.py --landlord /baselines/sl/landlord.ckpt --landlord_up /baselines/sl/landlord_up.ckpt --landlord_down /baselines/sl/landlord_down.ckpt --eval_data eval_data.pkl --num_workers 30 --gpu_device 0
显示的

@daochenzha
Copy link
Collaborator

@lingyunQAQ 可能evaluation数据有问题,重新跑一遍python3 generate_eval_data.py试试

@lingyunQAQ
Copy link
Author

lingyunQAQ commented Jul 21, 2023

@lingyunQAQ 可能evaluation数据有问题,重新跑一遍python3 generate_eval_data.py试试

谢谢回复再次尝试下,可以了,上次是99999999,这次生成了100000就正常在跑了,不过暂时啥也没有,这个评估支持checkpoint么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants