TRAILab / CaDDN

Categorical Depth Distribution Network for Monocular 3D Object Detection (CVPR 2021 Oral)
Apache License 2.0
359 stars 62 forks source link

about dist_test.sh #31

Closed rockywind closed 3 years ago

rockywind commented 3 years ago

Thanks for your contribution!

When I run the script dist_test.sh, what value should be set about PY_ARGS. image

codyreading commented 3 years ago

Hello!

If you run python test.py -h, you can see all of the different command line arguments. These allow you to set the model checkpoint, batch_size, etc. You can fill these arguments here.

codyreading commented 3 years ago

Take a look at the instructions here: https://github.com/TRAILab/CaDDN/blob/master/docs/GETTING_STARTED.md#test-and-evaluate-the-pretrained-models

rockywind commented 3 years ago

Thank you very much! I met the problem, when I run the dist_test.sh. image

codyreading commented 3 years ago

Hello,

You didn't enter in any command line arguments as shown here. Addditionally, try using bash rather than sh:

bash scripts/dist_test.sh 4 --cfg_file cfgs/kitti_models/CaDDN.yaml

Seems like this error occurs with sh and not with bash. I'll update this in the docs for the next release.

rockywind commented 3 years ago

Thanks for your help! It works.