Comments (5)
Comment #1 originally posted by sandwichmaker on 2012-05-14T20:02:48.000Z:
Thanks for the bug report. This does look like a problem. Keir and I are looking into this.
from ceres-solver.
Comment #2 originally posted by sandwichmaker on 2012-05-14T20:04:54.000Z:
Here is the crash report for reproduction.
diff --git a/examples/simple_bundle_adjuster.cc b/examples/simple_bundle_adjuster.cc
index 16c2dde..de675cd 100644
--- a/examples/simple_bundle_adjuster.cc
+++ b/examples/simple_bundle_adjuster.cc
@@ -196,6 +196,8 @@ int main(int argc, char** argv) {
bal_problem.mutable_point_for_observation(i));
}
- problem.SetParameterBlockConstant(bal_problem.mutable_camera_for_observation(2));
// Make Ceres automatically detect the bundle structure. Note that the
// standard solver, SPARSE_NORMAL_CHOLESKY, also works fine but it is slower
// for standard bundle adjustment problems.
build: ./examples/simple_bundle_adjuster ../data/problem-16-22106-pre.txt
F0514 13:04:12.085523 1893997760 solver_impl.cc:629] Check failed: offsets.back() == residual_blocks->size() (76733 vs. 83718) Congratulations, you found a Ceres bug! Please report this error to the developers.
*** Check failure stack trace: ***
@ 0x10018abf4 google::LogMessage::SendToLog()
@ 0x100188014 google::LogMessage::Flush()
@ 0x10018812e google::LogMessageFatal::~LogMessageFatal()
@ 0x100188151 google::LogMessageFatal::~LogMessageFatal()
@ 0x1000586ba ceres::internal::SolverImpl::MaybeReorderResidualBlocks()
@ 0x10005924e ceres::internal::SolverImpl::Solve()
@ 0x100056039 ceres::Solve()
@ 0x100005b53 main
@ 0x1000031a8 start
@ 0x2 (unknown)
Abort trap
I think the reordering code is not accounting for constant parameter blocks correctly.
from ceres-solver.
Comment #3 originally posted by sandwichmaker on 2012-05-14T20:06:17.000Z:
Yes, this is definitely our bug.
from ceres-solver.
Comment #4 originally posted by sandwichmaker on 2012-05-14T20:47:49.000Z:
I have a fix; will have the fix and a test in a few minutes.
from ceres-solver.
Comment #5 originally posted by sandwichmaker on 2012-05-14T21:45:51.000Z:
Fixed in 32de18d.
from ceres-solver.
Related Issues (20)
- cant find_package(Ceres REQUIRED) on macos !!! HOT 8
- The program crashes when executing solve() HOT 3
- Compare ceres with scipy curve_fit HOT 8
- Bazel build fails HOT 1
- Merely including Ceres header file causes LNK2019 error (unresolved external symbol) from MSVC. HOT 4
- How to correctly call the official CUDA module of ceres? HOT 6
- Aborted error in ceres::Solve() HOT 5
- Setting Parameter Weights or Covariance Values HOT 1
- When I execute the cmake, it says add_library cannot create imported target "glog::glog" because another target with the same name already exists. HOT 3
- CHOLMOD print even on silent mode HOT 2
- 2.2.0 online doc typo HOT 2
- Couldn't find CUDA library root HOT 2
- Failed to find Ceres - Missing required Ceres dependency: glog. Searched using GLOG_INCLUDE_DIR_HINTS: /usr/include and glog_DIR: . HOT 2
- Build error, marked "override", but does not override HOT 2
- Boundary interpolation bug HOT 2
- how to optimize the BA with direct method? HOT 2
- 2.2.0: test suite fails in `polynomial_test` unit
- Upgrading CERES v1.14.0 to v2.0.0 - Error when linking CERES v2.0.0 in a C++ project HOT 5
- nvcc fatal : Unknown option '-extended-lambda' HOT 1
- Compilation errors on jetson orin 32GB board HOT 1
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 ceres-solver.