Comments (5)
Sorry, this was a bug introduced when compile times were fixed https://sciml.ai/news/2022/09/21/compile_time/ . It's fixed by SciML/SciMLSensitivity.jl#741 which will be in the next ecosystem update (so wait a day or so). Sorry about that!
from universal_differential_equations.
Fixed
from universal_differential_equations.
Thank you for fixing the bug! Unfortunately, after updating all packages, I get a method error due to ambiguity (see below for details).
MethodError: setup(::Adam{Float64}, ::ComponentVector{Float64, Vector{Float64}, Tuple{Axis{(δ = 1, ude = ViewAxis(2:88, Axis(layer_1 = ViewAxis(1:15, Axis(weight = ViewAxis(1:10, ShapedAxis((5, 2), NamedTuple())), bias = ViewAxis(11:15, ShapedAxis((5, 1), NamedTuple())))), layer_2 = ViewAxis(16:45, Axis(weight = ViewAxis(1:25, ShapedAxis((5, 5), NamedTuple())), bias = ViewAxis(26:30, ShapedAxis((5, 1), NamedTuple())))), layer_3 = ViewAxis(46:75, Axis(weight = ViewAxis(1:25, ShapedAxis((5, 5), NamedTuple())), bias = ViewAxis(26:30, ShapedAxis((5, 1), NamedTuple())))), layer_4 = ViewAxis(76:87, Axis(weight = ViewAxis(1:10, ShapedAxis((2, 5), NamedTuple())), bias = ViewAxis(11:12, ShapedAxis((2, 1), NamedTuple())))))))}}}) is ambiguous. Candidates:
setup(rule::AbstractRule, model) in Optimisers at ...
setup(opt, ps::ComponentArray) in Lux at ...
Possible fix, define
setup(::AbstractRule, ::ComponentArray)
from universal_differential_equations.
@avik-pal do you know what's up with that one?
from universal_differential_equations.
LuxDL/Lux.jl#176 should patch it. FluxML/Optimisers.jl#106 started specializing the dispatch on AbstractRule
, which caused the breakage.
from universal_differential_equations.
Related Issues (20)
- "MethodError: objects of type SparseIdentificationResult are not callable"
- issue with regression with SInDy HOT 4
- line 207 error DimensionMismatch("arrays could not be broadcast to a common size; got a dimension with lengths 22 and 106") HOT 1
- recompile after activating HOT 1
- type SparseIdentificationResult has no field basis HOT 15
- `MethodError: no method matching SInDy` in DelayLotkaVolterra/VolterraExp.jl HOT 12
- Application to a different system of ODEs HOT 4
- training method for multiple neural-nets in universal ODEs HOT 2
- Instability detected in Fisher-KPP example HOT 4
- LotkaVolterra manifest file outdated HOT 12
- Lotka volterra UDE not recovered as per paper HOT 6
- outdated / soon to be outdated example codes HOT 1
- Has this paper been published on a journal or a conference? HOT 1
- UDE giving Linear Approximation / NeuralODEMM problems
- SEIR Example HOT 8
- Hudson Bay HOT 17
- Non Newtonian Fluids: FENE-P example error HOT 4
- LV Scenario 2 HOT 4
- OptimizationFunction Definition HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from universal_differential_equations.