Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Conversation

cpehle
Copy link

@cpehle cpehle commented Jan 7, 2023

Without this fix I got the following error trace:

  File "jraph/examples/hamiltonian_graph_network.py", line 239, in hamiltonian_from_state_fn
    graph = set_system_state(static_graph, position, momentum)
  File "jraph/examples/hamiltonian_graph_network.py", line 202, in set_system_state
    nodes = static_graph.nodes.copy(position=position, momentum=momentum)
jax._src.traceback_util.UnfilteredStackTrace: TypeError: frozendict.copy() got an unexpected keyword argument 'position'

@google-cla
Copy link

google-cla bot commented Jan 7, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@cpehle cpehle force-pushed the fix-hamiltonian-graph-nn branch from e5b1659 to ceaa2a6 Compare January 7, 2023 13:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant