TORCHバージョンの管理!
2085 ワード
https://pytorch.kr/get-started/previous-versions/
Torchaudio,Torchivisionバージョン
自分の現在のバージョンを確認トーチがあれば、確認してください
Cuda-toolkit/10.1のTORCHを取り付けた後
https://github.com/pytorch/vision#installation
torch //torchvision
torch //torchtext
突然エラーが発生しました...
[ソース](https://github.com/pyg-team/pytorch_geometric/issues/3575)
Torchaudio,Torchivisionバージョン
自分の現在のバージョンを確認トーチがあれば、確認してください
!python -c 'from torch.utils.collect_env import main; main()'
バージョン確認はメインピーターコマンドで確認!
locate cuda-toolkit
# 명령어는 터미널에서 그냥 치면 됩니다.
現在の仮想環境のKudaバージョンを確認してください(私は10.1です)
Cuda-toolkit/10.1のTORCHを取り付けた後
pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
次にtorch-geometricをインストールする必要があります.pip install torch-scatter -f https://data.pyg.org/whl/torch-1.7.1+cu101.html
pip install torch-sparse -f https://data.pyg.org/whl/torch-1.7.1+cu101.html
pip install torch-geometric
pip install torch-cluster -f https://data.pyg.org/whl/torch-1.7.1+cu101.html
pip install torch-spline-conv -f https://data.pyg.org/whl/torch-1.7.1+cu101.html
ここで参考にしました.https://github.com/pytorch/vision#installation
torch //torchvision

torch //torchtext

突然エラーが発生しました...
OSError: /home/user/anaconda3/envs/hs/lib/python3.7/site-packages/torchsparse/_version_cuda.so: undefined symbol: _ZN3c106detail12infer_schema20make_function_schemaENS_8ArrayRefINS1_11ArgumentDefEEES4
[ソース](https://github.com/pyg-team/pytorch_geometric/issues/3575)
Reference
この問題について(TORCHバージョンの管理!), 我々は、より多くの情報をここで見つけました https://velog.io/@terry_9996/torch-버전-관리하기テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol