Comments (5)
Thanks for the quick reply I'll try it out
from jaxfg.
Hey!
The ordering of the stacked parameters should match the order that you passed the factors into StackedFactorGraph.make(factors)
; row i should be the mu
parameter of the i-th PriorFactor.
So if you break down factors: List[FactorBase] = between_factors + prior_factors
, prior_factors[i].mu.unit_complex_xy
should be equivalent to graph.factor_stacks[1].factor.mu.unit_complex_xy[i, :]
.
Does that answer your question?
from jaxfg.
And @brentyi , how are variables in the solution ordered? Are the variables ordered by the order of appearance in the factor list, or in the pose list passed into StackedFactorGraph.make? Or something else? Thanks
from jaxfg.
The structure of the solution assignments will match the initial assignments (which needs to be explicitly passed into the solve()
method), and the initial variable ordering of the assignments should parallel the factor ordering of the graph — it'll just respect whatever you pass into VariableAssignments.make_from_defaults(some iterable)
, VariableAssignments.make_from_dict(some dictionary)
, etc.
edit: this was actually aspirational behavior and untrue at the time, see #12 and #13
from jaxfg.
Thanks!
from jaxfg.
Related Issues (7)
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 jaxfg.