Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to predict? #16

Open
Zhangwenyao1 opened this issue Oct 22, 2021 · 4 comments
Open

How to predict? #16

Zhangwenyao1 opened this issue Oct 22, 2021 · 4 comments

Comments

@Zhangwenyao1
Copy link

No description provided.

@Zhangwenyao1
Copy link
Author

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

@maskjp
Copy link
Collaborator

maskjp commented Oct 22, 2021

Hi, @Zhangwenyao1:

Please find the information here

Best wishes!

@Zhangwenyao1
Copy link
Author

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

@maskjp
Copy link
Collaborator

maskjp commented Oct 24, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants