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

File "train_mineral_shards.py", line 130, in main act.save("mineral_shards.pkl") AttributeError: 'tuple' object has no attribute 'save' #10

Open
hechenghai opened this issue Dec 7, 2017 · 1 comment

Comments

@hechenghai
Copy link

No description provided.

@bbueno5000
Copy link

bbueno5000 commented Jan 3, 2018

I believe the tuple is meant to be stored separately,

act_x, act_y = deepq_mineral_shards.learn(

and then saved separately,

act_x.save("mineral_shards_x.pkl")
act_y.save("mineral_shards_y.pkl")

Or allow the callback to handle it,

212      act_x = deepq_mineral_shards.ActWrapper(locals['act_x'])
213      act_y = deepq_mineral_shards.ActWrapper(locals['act_y'])

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