Comments (5)
An AutoDiffCostFunction
needs to be defined in C++ because Ceres cannot differentiate Python code. The code that you link is irrelevant - the implementation of the main cost functions was simply move from pyceres to pycolmap to reduce the dependencies of the core pyceres library.
from pyceres.
GradientChecker
is not bound yet but this shouldn't be difficult, you are welcome to contribute it. You would likely need to also bindGradientChecker::ProbeResults
andNumericDiffOptions
.- We don't bind
AutoDiffCostFunction
because Ceres cannot auto-diff through Python code. It is best to perform the auto-diff on the Python side, e.g. with a deep learning framework like PyTorch.
from pyceres.
i saw this from v1.0
pyceres/_pyceres/factors/bundle.cc
Line 80 in 179883e
so the
AutoDiffCostFunction
is removed becasue of this?
We don't bind
AutoDiffCostFunction
because Ceres cannot auto-diff through Python code.
Thanks!
from pyceres.
And is the geometry of Sophus not going to be suported in Pyceres in the future?
from pyceres.
So far we've been relying on the geometry objects available in COLMAP. We could consider adding support for Sophus objects if there is a need for minimal dependencies within pyceres.
from pyceres.
Related Issues (19)
- ModuleNotFoundError: No module name 'hloc' HOT 1
- add_library cannot create imported target "glog::glog" because another target with the same name already exists. HOT 4
- Error when installing HOT 8
- missing LICENSE HOT 1
- Create a release so pyceres can be added to conda-forge HOT 8
- a werid optimization result of pyceres
- error when install
- fatal error: colmap/base/camera_models.h: No such file or directory HOT 1
- Pyceres install fails in Nerfstudio Dockerfile HOT 3
- writing own costFunction HOT 1
- Question about some pybind usage HOT 1
- Writing cost function in Python HOT 2
- colmap is changed HOT 4
- Failure for glog 0.7 HOT 3
- Cost functions from pycolmap is not available HOT 10
- CMake Error at /usr/local/lib/cmake/Ceres/CeresTargets.cmake HOT 2
- ImportError: libglog.so.1: cannot open shared object file: No such file or directory HOT 2
- Glog crashes when importing pyceres and pycolmap HOT 6
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 pyceres.