Comments (12)
+1 I would like windows wheels available as well. I am struggling to build the library on windows with the given instructions and latest commit in master.
from pycolmap.
I would highly recommend to use the Ubuntu subsystem WSL 2 this. WSL2 + VSCode with Remote Explorer Extension. In this way you can install and use pycolmap (or rather any Linux only project) on Windows without problems.
from pycolmap.
I think a lot of people use vcpkg on Windows .
Maybe you can take a look at the following guide to compile PyCOLMAP on Windows - https://github.com/colmap/pycolmap/pull/85/files (but I think this way broke at some point)
from pycolmap.
@mihaidusmanu FWIW I've messed around some more and now I'm installing COLMAP via vcpkg
. I have a modern Core i7 laptop with good internet and it's taking now over 4hrs and still going... I wonder, do you think the COLMAP maintainers might be open to just building pycolmap wheels as part of their own release? That's probably a longer conversation... but it would save a bit of build confusion and afford a better tie between pycolmap and colmap releases. I wonder how many windows users are indeed spending 4+ hours installing colmap via vcpkg
...
Thus far I've failed to get Github CI to build a wheel. It'll run for 4+hours but I'm concerned about running out of minutes on my account. Other alternatives I'll try:
- use the Windows binary release plus the source release headers. I've never tried something like that on Windows CMake but it might work. that strategy works on linux cmake / C++ usually at least.
- see if there's a way to have
conda
andvcpkg
work together forpycolmap
windows wheels.. https://github.com/conda-forge/vcpkg-feedstock I guess most windows users use conda? And so that might be a fruitful avenue.
from pycolmap.
https://github.com/colmap/pycolmap/pull/85/files
this worked for me, just use: vcpkg install colmap[cuda]:x64-windows --head
if you want to use dense reconstruction...
if vcpkg fails to build with cuda (nvcc errors) - there is another way...
- install colmap without cuda using vcpkg (this will also install all deps)
- compile colmap independently from source using cmake (with cuda)
- copy the libs from 3 to vcpkg installed/colmap folder
- if you want to build pycolmap from source - go to C:\dev\vcpkg\installed\x64-windows\share\colmap\colmapConfig.cmake find the line with "set(COLMAP_CUDA_ENABLED ON)" - make sure its on.
- add env variable CMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake
- in pycolmap folder - pip install .
from pycolmap.
Hard Core Demand!!!!!!!!
from pycolmap.
+1, likely the source of some issues/confusions when installing hloc: cvg/Hierarchical-Localization#149 cvg/Hierarchical-Localization#140
from pycolmap.
I would highly recommend to use the Ubuntu subsystem WSL 2 this. WSL2 + VSCode with Remote Explorer Extension. In this way you can install and use pycolmap (or rather any Linux only project) on Windows without problems.
what if I use pycolmap on Windows?
from pycolmap.
I have got the same error , But I cannot find a valid way to solve it. Could you help me?
from pycolmap.
Am attempting to work on this in #114 ...
Dumb question: how are windows users installing pycolmap today? It seems the windows binary release for COLMAP doesn't necessarily include everything you need... but vcpkg can install it maybe? Do windows users use vcpkg to install COLMAP?
from pycolmap.
thank you @mihaidusmanu ! I'll keep pushing on vcpkg ... it looks like part of that recommended path still works
https://github.com/pwais/pycolmap/actions/runs/4220906865/jobs/7327625654
from pycolmap.
cc #70
from pycolmap.
Related Issues (20)
- Darw color on 3D Reconstruct model problem
- Option to disable logging in incremental mapping HOT 2
- Support Python 3.11 HOT 1
- How can I set a random seed? HOT 5
- Undeclared `EIGEN_STL_UMAP` error when building from source HOT 3
- How to change the camera model from "SIMPLE_RADIAL" to "PINHOLE"? HOT 1
- How to import custom features HOT 1
- Bindings for robust triangulation HOT 2
- VocabTree matching doesn't work HOT 2
- pose_refinement: retrieve updated intrinsics HOT 1
- Building error in WSL (Ubuntu 22.04) HOT 1
- Building is broken due to file/folder structure changes in Colmap HOT 1
- confused about image.camera_id HOT 1
- I encountered an error while building pycolmap from source code, manifested as: no matching function for call to 'ComputeAlignmentBetweenReconstructions (const colmap:: Reconstruction&, const colmap: Reconstruction&, const double&, const double&, Eigen:: Matrix3x4d *)' HOT 4
- What's the point of return const scalar type? HOT 1
- Link Boost::graph error
- `pycolmap.triangulate_points` is slow compared with colmap `point_triangulator` CLI.
- Build isn't working HOT 4
- Reduce the size of macOS wheels HOT 3
- Can I do Localization with one image? 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 pycolmap.