I have been updating the Lotka-Volterra example in the model zoo. The call to
train! fails with an error in Zygote
src/compiler/interface.jl line 129 with the error in the title.
The reason for the error is a mystery to me.
My code is at https://github.com/Emmanuel-R8/model-zoo/blob/update-diffeq/contrib/diffeq/lotka-volterra.jl. Call to
train! is on the very last line.
Has anybody seen that before?