8000 Add dependencies and Pixi configuration simpler project setup by pablovela5620 · Pull Request #4 · cvg/mpsfm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add dependencies and Pixi configuration simpler project setup #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pablovela5620
Copy link

To make things easier for myself, I added the option to use Pixi as an install method. Everything should still work with the original installation instructions. This makes it so that in one command, one builds + installs the custom pycolmap branch and includes most (conda doesn't currently include glew) required deps.

Pixi is a modern package manager for the conda ecosystem. It's much faster than conda/mamba and also supports lockfiles natively. Part of what makes it so useful in this case is the addition of tasks that build/install colmap and pycolmap.

Let me know if this looks interesting for you to merge if not, no problem. Just makes it easier for me to consistently get this working without having to install a bunch of things onto my apt package manager (rather have a separate conda environment for it)

TLDR easy use:

  1. Install pixi curl -fsSL https://pixi.sh/install.sh | sh
  2. run command pixi run reconstruct-example

This will git clone modified colmap, build it, install pycolmap, and run python reconstruct.py!

Also means if you jump into the shell pixi shell and run the notebook example, everything will work there too

- Updated `pyproject.toml` to include new dependencies: timm, cupy-cuda12x, cholespy, html4vision, geffnet, and mmcv-lite.
- Configured Pixi workspace with conda-forge channel and specified platforms.
- Added PyPI options and dependencies for mpsfm, torch, torchvision, xformers, simplecv, lightglue, and colmap-rerun.
- Defined Pixi tasks for cloning and building colmap, as well as installing pycolmap.
- Specified additional dependencies for the project, including rerun-sdk, omegaconf, h5py, and others.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0