COLMAP在Conda Forge中的构建教程

COLMAP在Conda Forge中的构建教程

colmap-feedstock colmap-feedstock 项目地址: https://gitcode.com/gh_mirrors/co/colmap-feedstock

1. 目录结构及介绍

COLMAP的Conda Forge仓库位于https://github.com/conda-forge/colmap-feedstock,其结构专为自动化构建过程设计,这使得开发者能够轻松地将COLMAP包发布到Conda环境。以下是一些关键文件和目录的概述:

  • .github: 包含了与GitHub操作相关的配置文件,如工作流定义。

  • conda-forge.yml: 核心配置文件,用于指导conda-forge如何构建 COLMAP 包。它指定了依赖项、构建脚本和其他元数据。

  • recipe: 这个目录包含了构建 COLMAP 的具体配方(通常为 meta.yaml 文件),详细说明了编译指令、所需的库版本等。

  • .gitignore, .gitattributes: 版本控制相关的配置,排除不需纳入版本管理的文件或设置Git属性。

  • LICENSE.txt: 记录了feedstock本身的许可证信息,这里采用的是BSD-3-Clause许可协议。

  • 其他CI相关配置,比如azure-pipelines.yml, circleci, 等,用于不同持续集成平台的构建脚本。

2. 项目的启动文件介绍

COLMAP本身作为一个应用,并没有直接在其feedstock仓库中提供启动文件。不过,在安装COLMAP通过Conda之后,用户可以通过命令行来启动COLMAP。通常,安装完成后,可以在终端中使用以下命令来运行COLMAP命令行工具:

colmap

实际的应用启动涉及更多是通过COLMAP的可执行文件,这些细节是在用户的系统上完成的,而非feedstock仓库直接提供的功能。

3. 项目的配置文件介绍

对于COLMAP的使用者而言,主要的配置并不直接体现在feedstock仓库中。COLMAP应用程序在运行时会读取特定的配置文件,这些配置文件用于指定诸如数据库路径、图像目录、重建参数等。用户在使用过程中,可以创建或编辑.ini文件来定制化这些参数。例如,进行特征提取和匹配时可能需要features_and_matches.ini,而在进行三维重建时,则可能需要mapper.ini。具体的配置示例和解释可在COLMAP的官方文档中找到。

然而,若要调整在Conda环境下构建COLMAP的具体行为,开发者则需要修改上述提到的conda-forge.ymlrecipe/meta.yaml文件,这些是构建流程的“配置”文件,而不是COLMAP应用程序的直接配置文件。


以上就是基于COLMAP在Conda Forge上的仓库结构和使用简介。请注意,深入了解COLMAP的具体用法和配置,应参考COLMAP的官方网站和官方文档。

colmap-feedstock colmap-feedstock 项目地址: https://gitcode.com/gh_mirrors/co/colmap-feedstock

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

(pixie-env) root@JFPC1:~# conda create -y -n gaussian_splatting_hair python==3.9 pip==23.3.1 setuptools==69.5.1 gcc==10.4.0 gxx==10.4.0 gxx_linux-64==10.4.0 plyfile==0.8.1 pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 pytorch-cuda==11.8 cmake==3.28.0 pyhocon==0.3.60 icecream==2.1.3 einops==0.6.0 accelerate==0.18.0 jsonmerge==1.9.0 easydict==1.9 iopath==0.1.10 tensorboardx==2.6 scikit-image==0.20.0 fvcore==0.1.5 toml==0.10.2 tqdm==4.66.5 gdown==5.2.0 colmap==3.10 -c pytorch -c conda-forge -c defaults -c anaconda -c fvcore -c iopath -c bottler -c nvidia Channels: - pytorch - conda-forge - defaults - anaconda - fvcore - iopath - bottler - nvidia - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free Platform: linux-64 Collecting package metadata (repodata.json): done Solving environment: failed LibMambaUnsatisfiableError: Encountered problems while solving: - unsupported request - unsupported request - package cmake-3.28.0-hcfe8598_0 requires libcurl >=8.5.0,<9.0a0, but none of the providers can be installed Could not solve for environment specs The following packages are incompatible ├─ cmake ==3.28.0 * is installable and it requires │ ├─ libcurl >=8.5.0,<9.0a0 * with the potential options │ │ ├─ libcurl [8.10.0|8.10.1|...|8.9.1] would require │ │ │ └─ libzlib >=1.3.1,<2.0a0 * with the potential options │ │ │ ├─ libzlib 1.3.1 would require │ │ │ │ └─ zlib ==1.3.1 *_1, which can be installed; │ │ │ ├─ libzlib 1.3.1 would require │ │ │ │ └─ zlib ==1.3.1 *_2, which can be installed; │ │ │ └─ libzlib 1.3.1 would require │ │ │ └─ zlib ==1.3.1 *_0, which can be installed; │ │ ├─ libcurl 8.5.0 would require │ │ │ └─ openssl >=3.2.0,<4.0a0 *, which can be installed; │ │ ├─ libcurl [8.6.0|8.7.1] would require │ │ │ └─ openssl >=3.2.1,<4.0a0 *, which can be installed; │ │ ├─ libcurl 8.8.0 would require │ │ │ └─ openssl >=3.3.0,<4.0
03-15
Could not solve for environment specs The following packages are incompatible ├─ cmake ==3.28.0 * is installable and it requires │ └─ libcurl >=8.5.0,<9.0a0 * with the potential options │ ├─ libcurl [8.10.0|8.10.1] would require │ │ └─ openssl >=3.3.2,<4.0a0 *, which can be installed; │ ├─ libcurl 8.11.1 would require │ │ └─ openssl >=3.4.0,<4.0a0 *, which can be installed; │ ├─ libcurl [8.12.0|8.12.1] would require │ │ └─ openssl >=3.4.1,<4.0a0 *, which can be installed; │ ├─ libcurl 8.5.0 would require │ │ └─ openssl >=3.2.0,<4.0a0 *, which can be installed; │ ├─ libcurl [8.6.0|8.7.1] would require │ │ └─ openssl >=3.2.1,<4.0a0 *, which can be installed; │ ├─ libcurl 8.8.0 would require │ │ └─ openssl >=3.3.0,<4.0a0 *, which can be installed; │ ├─ libcurl [8.8.0|8.9.0|8.9.1] would require │ │ └─ openssl >=3.3.1,<4.0a0 *, which can be installed; │ └─ libcurl [8.11.1|8.12.0|...|8.9.1] conflicts with any installable versions previously reported; ├─ colmap ==3.10 * is not installable because it requires │ ├─ libboost [>=1.84.0,<1.85.0a0 *|>=1.86.0,<1.87.0a0 *] with the potential options │ │ ├─ libboost [1.84.0|1.86.0] would require │ │ │ └─ icu >=75.1,<76.0a0 *, which can be installed; │ │ └─ libboost [1.84.0|1.86.0] would require │ │ └─ icu >=73.2,<74.0a0 *, which can be installed; │ └─ qt-main >=5.15.8,<5.16.0a0 * but there are no viable options │ ├─ qt-main 5.15.8 would require │ │ └─ icu >=70.1,<71.0a0 *, which conflicts with any installable versions previously reported; │ ├─ qt-main [5.15.15|5.15.8] would require │ │ └─ libjpeg-turbo >=3.0.0,<4.0a0 *, which conflicts with any installable versions previously reported; │ └─ qt-main 5.15.8 would require │ └─ libjpeg-turbo >=2.1.5.1,<3.0a0 *, which conflicts with any installable versions previously reported; ├─ fvcore ==0.1.5 * does not exist (perhaps a typo or a missing channel); ├─ python ==3.9 * is not in
03-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

伏葵飚Anastasia

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值