-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Hello, I have the following questions:
- What version of Jax are you using?
When I ran PI_DeepONet_DR, I found that index_update and index were deprecated in newer versions of Jax, and optimizers were not included in lower versions of Jax.
"from jax.example_libraries import optimizers"
"from jax.ops import index_update, index"
- An error was found in PI_DeepONet_Burger.ipynb
The error occurs in the following code
"vmap(generate_one_ics_training_data, in_axes=(0, 0, None, None))(keys, u0_train, m, P_ics_train)
"
The error reported is
vmap got inconsistent sizes for array axes to be mapped:
- one axis had size 1000: axis 0 of argument key of type uint32[1000,2];
- one axis had size 10: axis 0 of argument u0 of type float32[10,101]
Metadata
Metadata
Assignees
Labels
No labels