nerfstudio: Colmap binary link in Colab is invalid

Describe the bug Colmap fails to install because the gdrive binary link is unavailable.

To Reproduce Steps to reproduce the behavior:

  1. Go to the colab page
  2. Run Install Nerfstudio and Dependencies (~8 min)
  3. See error when downloading colmap from this link

Expected behavior Colmap installing successfully

image

About this issue

  • Original URL
  • State: open
  • Created 10 months ago
  • Reactions: 1
  • Comments: 21 (6 by maintainers)

Most upvoted comments

Follow this process. It works for me.

First install conda in colab executing that:

!pip install -q condacolab

import condacolab

condacolab.install()

After That run this: !conda install -c conda-forge colmap

Make sure that colmap works by running. !colmap -h

Can you try to go into the code block, delete that entire section under # Installing COLMAP and replace it with !sudo apt-get install colmap. You can check that colmap is installed correctly by running !colmap -h afterwards. This is slightly suboptimal due to some dependency issues still (need a bit more time to fix) but will at least allow you to run the colab demo for now!

This does install colmap, but this version of it does not generate the transforms.json file inside the data/nerfstudio/custom_data folder:

image

Perhaps there’s an argument that you need to pass to colmap to generate it now? What was the colmap version that was in the google drive link?

Edit: Actually there is still an issue with installation after this, let me look into it further and update soon.

Can you try replacing that link with this: https://drive.google.com/file/d/1HfqTvVEmryU-W9zUFvRYoPsRQqnOD7ta&confirm=t

# Installing COLMAP
%cd /content/
!gdown "https://drive.google.com/file/d/1HfqTvVEmryU-W9zUFvRYoPsRQqnOD7ta&confirm=t"

same, any solution?