G2LTex icon indicating copy to clipboard operation
G2LTex copied to clipboard

Failed to open setting file (config.yml)

Open Skype-line opened this issue 4 years ago • 3 comments

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 :)

Skype-line avatar Jul 01 '20 15:07 Skype-line

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.

yanqingan avatar Jul 01 '20 18:07 yanqingan

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

Skype-line avatar Jul 02 '20 14:07 Skype-line

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.

Elensil avatar Mar 08 '21 13:03 Elensil