Closed ZJLi2013 closed 1 year ago
python3 scripts/run.py --network base.json --scene ./kitti_scene/baseline.json --name kitti --n_steps 20000
it reports
RuntimeError: Data path './kitti_scene/baseline.json' does not exist.
then tried
python3 scripts/run.py --network base.json --scene ./kitti_scene --name kitti --n_steps 20000
RuntimeError: path::operator/(): expected a relative path!
while kitti_scene is relative to the repo root:
kitti_scene
root@ubuntu:/neus2/NeuS2# ls -lt total 92 drwxrwxr-x 3 1000 1000 4096 Nov 16 02:48 kitti_scene drwxrwxr-x 3 1000 1000 4096 Nov 16 02:20 scripts
void Testbed::load_training_data(const std::string& data_path) { m_data_path = data_path; // dynamic scene init log and vis m_output_path = data_path + "/output";
looks args.scene should passing the directory which contains a *.json, right ?
args.scene
*.json
so what's the right way to passing scene ? in instant-ngp is ok to passing abs_path to .json
instant-ngp
Thanks ZJ
solved, here require file_path in transform.json should be relative to transform.json. thanks again
file_path
transform.json
it reports
then tried
it reports
while
kitti_scene
is relative to the repo root:looks
args.scene
should passing the directory which contains a*.json
, right ?so what's the right way to passing scene ? in
instant-ngp
is ok to passing abs_path to .jsonThanks ZJ