unmannedlab / RELLIS-3D

RELLIS-3D: A Multi-modal Dataset for Off-Road Robotics
https://unmannedlab.github.io/research/RELLIS-3D
287 stars 49 forks source link

How to predict? #16

Open Zhangwenyao1 opened 3 years ago

Zhangwenyao1 commented 3 years ago

I didn't find the prediction.py .Can u give me some suggestions?

maskjp commented 3 years ago

Hi, @Zhangwenyao1:

Please find the information here

Best wishes!

Zhangwenyao1 commented 3 years ago

Thank u very much, but I can't find the test.py of GSCNN , so how to predict by GSCNN?

maskjp commented 3 years ago

Hi, @Zhangwenyao1 ,

For GSCNN, you don't need test.py. You can use train.py in GSCNN but use test mode. Please see the following script.

cd /path/to/code/benchmarks/GSCNN-master
export PYTHONPATH=/path/to/code/benchmarks/GSCNN-master/:$PYTHONPATH
python train.py --dataset rellis --bs_mult 3 --lr 0.001 --exp final \
                --checkpoint_path /path/to/pre-trained/chk_file \
                --mode test \
                --test_sv_path /path/for/save/prediction

I hope it helps!