Skip to content
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

Failed to open setting file (config.yml) #7

Open
Skype-line opened this issue Jul 1, 2020 · 3 comments
Open

Failed to open setting file (config.yml) #7

Skype-line opened this issue Jul 1, 2020 · 3 comments

Comments

@Skype-line
Copy link

Hi,
I run the executable with your data without problems. Now I try with my new data of the same format. I also change certain lines in the 'config.yml'. When I run the executable again, I get the following:
"Failed to open settings file at:
depth fx:0 fy:0 cx:0 cy:0 width:0 height:0
RGB fx:0 fy:0 cx:0 cy:0 width:0 height:0
Global depth:0 RGB:0
Local RGB:0 edge:0 Reg:0
Global Iterations:0 Local Iterations:0"

Is there any place missed to change? Can you help me out?

Thanks :)

@yanqingan
Copy link
Contributor

yanqingan commented Jul 1, 2020

Did you just comment the original settings in this file (leaving them still in the file) and add yours after them? If it is, I think you can try to copy those out to another file for backup, then leave this config file only for the dataset you want to test.
For example:
%YAML:1.0

%Your dataset
depth_fx: ***
depth_fy: ***
depth_cx: ***
depth_cy: ***
depth_width: ***
depth_height: ***

RGB_fx: ****
RGB_fy: ****
RGB_cx: ****
RGB_cy: ****
RGB_width: ****
RGB_height: ****

Global_Iterations: 300
Lobal_Iterations: 20

global_depth_weight: 100
global_RGB_weight: 1

local_RGB_weight: 1
local_edge_wight: 1
local_Reg_wight: 100

write_view_selection_model: 1
global_color_correcting: 1

BTW, make sure the location and file name are correct. I do not encounter any problems in this way. There may be still bugs we need to check. Thank you for your feedback.

@Skype-line
Copy link
Author

Thanks for your immediate reply.
Now I solve my problem. I did not set the path correct.
There is no bug to be fixed :)

@Elensil
Copy link

Elensil commented Mar 8, 2021

I had the same issue. It took me a while, I'm leaving this for anyone who might have the same issue.
You need to be in ./bin/ when running the program, not in the parent folder.
This might be worth stressing in the README.

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

No branches or pull requests

3 participants