NerfingMVS icon indicating copy to clipboard operation
NerfingMVS copied to clipboard

The question of how to install colmap

Open ThePrecoder opened this issue 3 years ago • 14 comments

I'm sorry to bother you sir.I'm a student interested in your code,but I just don't know how to install it. Before installing it into colmap folder,should I add image into it first?And then just follow the basic step to install the colmap into it without covering these files?I just don't understand what "do not cover colmap folder with the original version" and "we add masks to COLMAP and denote it as a submodule"means.I'm so looking forward to your reply.

ThePrecoder avatar Nov 22 '21 13:11 ThePrecoder

image this is what I downloaded,should I just copy it into colmap folder?Im a freshman,so sorry to bother you.

ThePrecoder avatar Nov 22 '21 13:11 ThePrecoder

It means that we modify the original COLMAP and update some functions. When you "git clone --recursive [email protected]:weiyithu/NerfingMVS.git", you have already downloaded our version's COLMAP. However, what you download is the source code and you need to compile it following https://colmap.github.io/install.html. Notice that do not run 'git clone https://github.com/colmap/colmap.git' and 'git checkout dev' since these two commands will cover the colmap folder. You may refer to #15 .

weiyithu avatar Nov 23 '21 11:11 weiyithu

It means that we modify the original COLMAP and update some functions. When you "git clone --recursive [email protected]:weiyithu/NerfingMVS.git", you have already downloaded our version's COLMAP. However, what you download is the source code and you need to compile it following https://colmap.github.io/install.html. Notice that do not run 'git clone https://github.com/colmap/colmap.git' and 'git checkout dev' since these two commands will cover the colmap folder. You may refer to #15 .

Thanks a lot,I'll try later.

ThePrecoder avatar Nov 23 '21 11:11 ThePrecoder

It means that we modify the original COLMAP and update some functions. When you "git clone --recursive [email protected]:weiyithu/NerfingMVS.git", you have already downloaded our version's COLMAP. However, what you download is the source code and you need to compile it following https://colmap.github.io/install.html. Notice that do not run 'git clone https://github.com/colmap/colmap.git' and 'git checkout dev' since these two commands will cover the colmap folder. You may refer to #15 .

Sorry but,when I run "make"after "cmake ..",it occurs image

I dont know what happened.

ThePrecoder avatar Nov 24 '21 11:11 ThePrecoder

Could you provide more details?

weiyithu avatar Nov 25 '21 11:11 weiyithu

Could you provide more details? That error was resolved, when I run "sh run.sh $scene_name",it occurs image did that mean the memory was used up.

ThePrecoder avatar Nov 25 '21 12:11 ThePrecoder

Yeah, it is out of memory.

weiyithu avatar Nov 25 '21 13:11 weiyithu

Yeah, it is out of memory.

1637914704(1) what happened to this...it said" unpack requires a buffer of 12 bytes"when loaded point_vis

ThePrecoder avatar Nov 26 '21 08:11 ThePrecoder

It may because you used original COLMAP instead of our version's. You can refer to #15 and #2

weiyithu avatar Nov 28 '21 02:11 weiyithu

okay,I've seen that.thanks a lot,Im sorry for not getting you back for so long.These days I was busy doing my tasks.

ThePrecoder avatar Nov 30 '21 02:11 ThePrecoder

It may because you used original COLMAP instead of our version's. You can refer to #15 and #2

My problem is solved,thank you so much.

ThePrecoder avatar Nov 30 '21 08:11 ThePrecoder

Oh, that's great.

weiyithu avatar Dec 01 '21 03:12 weiyithu

I also face the same problem. I install colmap for https://github.com/B1ueber2y/colmap.git. But the problem still exists.

ygjwd12345 avatar Dec 22 '21 14:12 ygjwd12345

Oh, that's great. Dear author the error of the byte is not fixed can you help or can you provide the actual installation process? unpack requires a buffer of 12 bytes

nitishkiitk avatar Apr 16 '23 17:04 nitishkiitk