-
Notifications
You must be signed in to change notification settings - Fork 960
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
用Pytorch训练保存模型,在human_play中加载模型报错 #116
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "E:/project/AlphaZero_Gomoku/human_play.py", line 68, in run
policy_param = pickle.load(open(model_file, 'rb'))
_pickle.UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:/project/AlphaZero_Gomoku/human_play.py", line 91, in
run()
File "E:/project/AlphaZero_Gomoku/human_play.py", line 72, in run
encoding='bytes') # To support python3
_pickle.UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified.
The text was updated successfully, but these errors were encountered: