Jax grad
complains about ints but my data contains no ints
#8415
-
I have a silly question. I am getting the following error:
Which I can easily avoid by just setting Here is a scrapy version of the code that is currently failing:
Here is a
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe |
Beta Was this translation helpful? Give feedback.
I believe
flax.TrainState
includes astep
parameter which is an integer. If you're attempting to take the gradient with respect to the state, that would cause this error. Perhaps you meant to take the gradient with respect to juststate.params
?