8000 Rename get_node for PyTables 3.x dependency by daviddao · Pull Request #7 · openai/imitation · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rename get_node for PyTables 3.x dependency #7

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

8000
Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

daviddao
Copy link
@daviddao daviddao commented May 16, 2017

Running the script in train phase will give me following error:

File "[localpath]/imitation/policyopt/nn.py", line 393, in write_snapshot
self.f.getNode(snapshot_root)._v_attrs.hash = model.savehash()
AttributeError: 'File' object has no attribute 'getNode'

That's because PyTables changed some of its API for 3.x

Renaming File.getNode into File.get_node will fix the issue.

PyTable 3.x renamed `File.getNode` into `File.get_node`
Copy link
@rexionmars rexionmars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

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

Successfully merging this pull request may close these issues.

2 participants
0