-
Notifications
You must be signed in to change notification settings - Fork 0
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
HOW to use the ColmapForVisSatPatched #1
Comments
As you can see in the patches folder, the files which are replaced are source files (e.g. src__base__camera.cc). Therefore, the patches must be applied before building the colmap library. |
Thank you very much for your reply!
I want to know the sentence 'Finally, apply the satellite specific patches with:
$PathToColmapForVisSatPatched/apply_ Patches. sh $PathToColmapToBePatched ", what should I do specifically?
When installing colmap after installing this patch. Do I need to perform
“apt get install nvidia driver 390 nvidia utils 390 nvidia cuda toolkit” of “ubuntu1804_install_dependencies.sh”file .
My ubuntu20.04 system has installed nvidia driver-470 and cuda-11.0, but an error occurred during the compilation of colmap. Is it due to the graphics card and cuda that caused the error. Because I have only just started learning about Colmap and there are many things I don't understand. I hope to receive your help. Thank you very much.
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年4月16日(星期天) 晚上7:01
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [SBCV/ColmapForVisSatPatched] HOW to use the ColmapForVisSatPatched (Issue #1)
As you can see in the patches folder, the files which are replaced are source files (e.g. src__base__camera.cc).
Therefore, the patches must be applied before building the project.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Have you build the original colmap library without errors? |
Do you mean to first build the colmap and then use the ColmapForVisSatPatched patch file?
I have built colmap without errors before, but there was a problem where I couldn't find the camera txt file, as shown in the following image:
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年4月16日(星期天) 晚上7:29
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [SBCV/ColmapForVisSatPatched] HOW to use the ColmapForVisSatPatched (Issue #1)
Have you build the original colmap library without errors?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
What I mean is: build the standard colmap library first, following the instructions here, to see if everything (i.e. nvidia driver, cuda installation) is correctly set up. |
Thank you very much for your suggestion! When installing patch files, I don't understand how to proceed with these two steps:
How should I specifically operate these two steps?
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年4月16日(星期天) 晚上7:50
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [SBCV/ColmapForVisSatPatched] HOW to use the ColmapForVisSatPatched (Issue #1)
What I mean is: build the standard colmap library first, following the instructions here, to see if everything (i.e. nvidia driver, cuda installation) is correctly set up.
Afterwards, try apply the patch files and build the project again.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I do not really understand your question. The command
as explained on the instruction page. To summarize, you have to execute the following commands (in the terminal)
Of course, you have to adapt the first two paths.
If cuda and the nvidia driver are already installed, you not need to change anything |
Ok, I will follow your advice. Thank you so much.
…---Original---
From: ***@***.***>
Date: Sun, Apr 16, 2023 20:33 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [SBCV/ColmapForVisSatPatched] HOW to use the ColmapForVisSatPatched (Issue #1)
I want to know the sentence 'Finally, apply the satellite specific patches with:
$PathToColmapForVisSatPatched/apply_ Patches. sh $PathToColmapToBePatched ", what should I do specifically?
I do not really understand your question. The command
$PathToColmapForVisSatPatched/apply_patches.sh $PathToColmapToBePatched
has to be executed in the terminal like all the other commands in the instructions, such as
chmod +x $PathToColmapForVisSatPatched/apply_patches.sh.
The variables $PathToColmapForVisSatPatched and $PathToColmapToBePatched are defined with
PathToColmapForVisSatPatched="/path/to/ColmapForVisSatPatched" PathToColmapToBePatched="path/to/ColmapToBePatched"
as explained on the instruction page.
To summarize, you have to execute the following commands (in the terminal)
PathToColmapForVisSatPatched="/path/to/ColmapForVisSatPatched" PathToColmapToBePatched="path/to/ColmapToBePatched" git clone https://github.com/SBCV/ColmapForVisSatPatched.git $PathToColmapForVisSatPatched git clone https://github.com/colmap/colmap.git $PathToColmapToBePatched cd $PathToColmapToBePatched git checkout 31df46c6c82bbdcaddbca180bc220d2eab9a1b5e chmod +x $PathToColmapForVisSatPatched/apply_patches.sh $PathToColmapForVisSatPatched/apply_patches.sh $PathToColmapToBePatched
Of course, you have to adapt the first two paths.
When installing colmap after installing this patch. Do I need to perform
“apt get install nvidia driver 390 nvidia utils 390 nvidia cuda toolkit” of “ubuntu1804_install_dependencies.sh”file .
If cuda and the nvidia driver are already installed, you not need to change anything
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Did you succeed install this patched? |
No,I tried to install the patched but failed.
…---Original---
From: ***@***.***>
Date: Tue, Nov 21, 2023 11:30 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [SBCV/ColmapForVisSatPatched] HOW to use the ColmapForVisSatPatched (Issue #1)
Did you succeed install this patched?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hello, may I ask if the patch is used after installing Colmap or directly using the patch file during Colmap installation? I don't quite understand the specific process. Can you provide any suggestions?
The text was updated successfully, but these errors were encountered: