トップ 一覧 検索 ヘルプ RSS ログイン

tips-PyTorchの変更点

  • 追加された行はこのように表示されます。
  • 削除された行はこのように表示されます。
!! PyTorch 

https://pytorch.org/

にてpip の Linux の CPU ( ノート用なので)にインストールコマンドを作る。。

 pip3 install torch==1.11.0+cpu torchvision==0.12.0+cpu torchaudio==0.11.0+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html

 pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu

が作られたのコレをベースに使ってゆく


 > pip3.11 install --upgrade pip setuptools wheel cmake cython 
 > pip3.11  install --upgrade Cython PyYAML wheel matplotlib pillow onnxruntime TensorFlow-cpu opencv-python opencv-contrib-python
 > pip3.11 install timm