fdp0525 / G2LTex

Code for CVPR 2018 paper --- Texture Mapping for 3D Reconstruction with RGB-D Sensor
146 stars 29 forks source link

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

Open Skype-line opened 4 years ago

Skype-line commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 3 years ago

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.