agile_autonomy icon indicating copy to clipboard operation
agile_autonomy copied to clipboard

Why python test_trajectories.py --settings_file=config/test_settings.yaml is so slow?

Open calmelo opened this issue 3 years ago • 5 comments

When I run python test_trajectories.py --settings_file=config/test_settings.yaml, it is so slow to upload the model. I need to wait for several minutes. Can someone tell me the reason?

calmelo avatar Dec 06 '21 09:12 calmelo

I have tried CUDA11.4. It is faster than other versions.

ZhangHaley avatar Dec 06 '21 14:12 ZhangHaley

I have tried CUDA11.4. It is faster than other versions.

The command of conda install tensorflow-gpu install the cuda10.1 default in tf_24 environment. How did you change the CUDA version?

calmelo avatar Dec 06 '21 14:12 calmelo

You can install tensorflow2.4 by pip instead of conda

NPU-yuhang avatar Dec 10 '21 15:12 NPU-yuhang

You can install tensorflow2.4 by pip instead of conda

Did you mean that installing tensorflow2.4 by pip can install tensorflow2.4 with cuda11?

calmelo avatar Dec 13 '21 13:12 calmelo

Yes, but you should install cuda11 from Nvidia developer website before installing the tensorflow2.4.

NPU-yuhang avatar Dec 13 '21 14:12 NPU-yuhang