ZikangZhou / HiVT

[CVPR 2022] HiVT: Hierarchical Vector Transformer for Multi-Agent Motion Prediction
https://openaccess.thecvf.com/content/CVPR2022/papers/Zhou_HiVT_Hierarchical_Vector_Transformer_for_Multi-Agent_Motion_Prediction_CVPR_2022_paper.pdf
Apache License 2.0
577 stars 115 forks source link

cudatoolkit=11.1 version problem #18

Closed jhih-ching-yeh closed 1 year ago

jhih-ching-yeh commented 1 year ago

Excuse me, when I did the following instruction, I got some error. conda install pytorch==1.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge And the error message is as following. `Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

Current channels:

Even I changed my cuda version to 11.0, I still can't solve the problem

Thanks!!

ZikangZhou commented 1 year ago

Maybe you can try to install another version of Pytorch: https://pytorch.org/get-started/previous-versions/. Pytorch 1.8 or 1.7 should work well.

jhih-ching-yeh commented 1 year ago

May I know your platform? Windows or Linux? Because after solving this problem, it still has some error about pytorch when I trained the model.

File "/home/ailab/anaconda3/envs/HiVT/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1145, in _get_data raise RuntimeError('Pin memory thread exited unexpectedly') RuntimeError: Pin memory thread exited unexpectedly I followed the information of thie error online, it stilled existed.

ZikangZhou commented 1 year ago

The code is tested on Linux, Ubuntu 18.04. I think this error can be solved by setting pin_memory to False or setting persistent_workers to False. These two parameters are both in train.py.

jhih-ching-yeh commented 1 year ago

Your advice works! Thanks a lot!!