forked from google-research/nerf-from-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
90 lines (89 loc) · 3.97 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "Test BootInv nuScenes",
"type": "debugpy",
"request": "launch",
"program": "eval_nusc_persp.py",
"console": "integratedTerminal",
"args": [
"--resume_from",
"g_imagenet_car_pretrained",
"--inv_loss",
"vgg", // options: vgg, l1, mse
"--init_pose_type",
"pnp", // options: pnp, gt, external
"--nusc_data_dir",
"datasets/NuScenes",
// "--external_pose_file", // uncomment for using external pose initialization
// "datasets/NuScenes/codes+poses.pth", // uncomment for using external pose initialization
"--nusc_version",
"v1.0-mini", // change to "v1.0-trainval" for full evaluation
]
},
{
"name": "Test BootInv KITTI",
"type": "debugpy",
"request": "launch",
"program": "eval_kitti_persp.py",
"console": "integratedTerminal",
"args": [
"--resume_from",
"g_imagenet_car_pretrained",
"--inv_loss",
"vgg", // options: vgg, l1, mse
"--init_pose_type",
"pnp", // options: pnp, gt, external
"--kitti_data_dir",
"datasets/KITTI",
// "--external_pose_file", // uncomment for using external pose initialization
// "datasets/KITTI/training/codes+poses.pth", // uncomment for using external pose initialization
"--max_num_samples",
"200", // change to "-1" for full evaluation
]
},
{
"name": "Test BootInv Waymo",
"type": "debugpy",
"request": "launch",
"program": "eval_waymo_persp.py",
"console": "integratedTerminal",
"args": [
"--resume_from",
"g_imagenet_car_pretrained",
"--inv_loss",
"vgg", // options: vgg, l1, mse
"--init_pose_type",
"pnp", // options: pnp, gt, external
"--waymo_data_dir",
"datasets/Waymo",
// "--external_pose_file", // uncomment for using external pose initialization
// "datasets/Waymo/validation/codes+poses.pth", // uncomment for using external pose initialization
"--max_num_samples",
"200", // change to "-1" for full evaluation
]
},
{
"name": "Evaluate Saved Result",
"type": "debugpy",
"request": "launch",
"program": "evaluate_saved_result.py",
"console": "integratedTerminal",
"args": [
"--result_file",
"outputs/waymo_init_external_opt_pose_True_2024_01_30_17/report_checkpoint.pth"
]
}
],
}