rpg_ramnet icon indicating copy to clipboard operation
rpg_ramnet copied to clipboard

config.json is missing when executing test.py

Open chowkamlee81 opened this issue 4 years ago • 5 comments

Hi When executing test.py, config.json file is missing. KIndly let me know how to solve this problem

chowkamlee81 avatar May 31 '21 07:05 chowkamlee81

Hi When executing test.py, config.json file is missing. KIndly let me know how to solve this problem

I tried ./rpg_ramnet/RAM_Net/configs/train_e2depth_si_grad_loss_statenet_ergb.json as config.json, it works.

gavinatthu avatar Jun 01 '21 13:06 gavinatthu

@gavinatthu Hi, I also want to run test.py and I have some question.

Do I need all dataset to run test.py?
I mean, I just download Test Set and ultimately I just want to run my own Dataset.

Actually, I can't understand relationship between too many folders. :cry:

Taeyoung96 avatar Jul 01 '21 05:07 Taeyoung96

Hi When executing test.py, config.json file is missing. KIndly let me know how to solve this problem

I tried ./rpg_ramnet/RAM_Net/configs/train_e2depth_si_grad_loss_statenet_ergb.json as config.json, it works.

@gavinatthu I used this json but it turned out that the result of evaluation.py was bad with too many nan. Did you get correct result?

_abs_rel_diff : 0.634652
_squ_rel_diff : 0.508212
_RMS_linear : 27.016123
_RMS_log : 1.445971
_SILog : 0.419716
_mean_depth_error : 20.128922
_median_diff : 27.074279
_threshold_delta_1.25 : 0.203618
_threshold_delta_1.25^2 : 0.205749
_threshold_delta_1.25^3 : 0.207795
_10_abs_rel_diff : nan
_10_squ_rel_diff : nan
_10_RMS_linear : nan
_10_RMS_log : nan
_10_SILog : nan
_10_mean_depth_error : nan
_10_median_diff : nan
_10_threshold_delta_1.25 : nan
_10_threshold_delta_1.25^2 : nan
_10_threshold_delta_1.25^3 : nan
_20_abs_rel_diff : 0.798547
_20_squ_rel_diff : 0.640753
_20_RMS_linear : 11.311787
_20_RMS_log : 1.608081
_20_SILog : 0.008131
_20_mean_depth_error : 11.082941
_20_median_diff : 10.684330
_20_threshold_delta_1.25 : 0.000720
_20_threshold_delta_1.25^2 : 0.001222
_20_threshold_delta_1.25^3 : 0.001837
_30_abs_rel_diff : 0.796884
_30_squ_rel_diff : 0.638186
_30_RMS_linear : 13.903231
_30_RMS_log : 1.603028
_30_SILog : 0.012278
_30_mean_depth_error : 13.229689
_30_median_diff : 12.164442
_30_threshold_delta_1.25 : 0.000735
_30_threshold_delta_1.25^2 : 0.001321
_30_threshold_delta_1.25^3 : 0.002148
_80_abs_rel_diff : 0.796703
_80_squ_rel_diff : 0.638573
_80_RMS_linear : 26.559234
_80_RMS_log : 1.620211
_80_SILog : 0.032484
_80_mean_depth_error : 22.393256
_80_median_diff : 17.168936
_80_threshold_delta_1.25 : 0.001398
_80_threshold_delta_1.25^2 : 0.002680
_80_threshold_delta_1.25^3 : 0.004256
_250_abs_rel_diff : 0.634652
_250_squ_rel_diff : 0.508212
_250_RMS_linear : 27.016123
_250_RMS_log : 1.445971
_250_SILog : 0.419716
_250_mean_depth_error : 20.128922
_250_median_diff : 27.074279
_250_threshold_delta_1.25 : 0.203618
_250_threshold_delta_1.25^2 : 0.205749
_250_threshold_delta_1.25^3 : 0.207795
_500_abs_rel_diff : 0.634652
_500_squ_rel_diff : 0.508212
_500_RMS_linear : 27.016123
_500_RMS_log : 1.445971
_500_SILog : 0.419716
_500_mean_depth_error : 20.128922
_500_median_diff : 27.074279
_500_threshold_delta_1.25 : 0.203618
_500_threshold_delta_1.25^2 : 0.205749
_500_threshold_delta_1.25^3 : 0.207795
----------------------------------------------
0.634652
0.508212
27.016123
1.445971
0.419716
20.128922
27.074279
0.203618
0.205749
0.207795
nan
nan
nan
nan
nan
nan
nan
nan
nan
nan
0.798547
0.640753
11.311787
1.608081
0.008131
11.082941
10.684330
0.000720
0.001222
0.001837
0.796884
0.638186
13.903231
1.603028
0.012278
13.229689
12.164442
0.000735
0.001321
0.002148
0.796703
0.638573
26.559234
1.620211
0.032484
22.393256
17.168936
0.001398
0.002680
0.004256
0.634652
0.508212
27.016123
1.445971
0.419716
20.128922
27.074279
0.203618
0.205749
0.207795
0.634652
0.508212
27.016123
1.445971
0.419716
20.128922
27.074279
0.203618
0.205749
0.207795
total metrics:  [7.54835033e+02 6.34651786e-01 3.26877870e+02 1.44106736e+01
 2.01289221e+01 2.70161231e+01]

algo-scope avatar Jul 14 '21 06:07 algo-scope

Hi When executing test.py, config.json file is missing. KIndly let me know how to solve this problem

I tried ./rpg_ramnet/RAM_Net/configs/train_e2depth_si_grad_loss_statenet_ergb.json as config.json, it works.

您好,我按照您的方法去尝试,但是我发现下载的EventScape文件夹中events/data文件夹下面是~~~_events.npz,而代码中需要读进去的是~~~~voxel.npy,这是否需要我们自行将它转换为VoxelGrid format,如果是,那如何转换?

booker-max avatar Sep 08 '21 09:09 booker-max

可以参考我这篇博客 https://blog.csdn.net/qq_26751117/article/details/122325560

algo-scope avatar Jan 05 '22 08:01 algo-scope