1
5

More than 3 years have passed since last update.

DeepLabCut 2.1 マニュアル 導入編(Windows10 GPU)

Posted at

はじめに

DeepLabCut 2.1 をGPUを積んだ Windows 10 で使用する方法です。以下の公式ホームページと公式が作成したGitHubを参考にしたので、Ubuntu18.04を使う場合はこちらを参照してください。Python環境やドライバ等のインストールは済んでいれば必要ありません。

DeepLabCut 公式ホームページ
http://www.mousemotorlab.org/deeplabcut

GitHub
https://github.com/AlexEMG/DeepLabCut/blob/master/docs/installation.md


導入準備

  1. Anacondaを使ってPython 3.7をインストール https://www.anaconda.com/distribution/
  2. NVIDIAドライバをインストール
  3. CUDAインストールキットをインストール
  4. 以下のyamlファイルをダウンロード http://www.mousemotorlab.org/s/dlc-windowsGPU-aa86.yaml (Windows 10 GPU)
  5. Anaconda を管理者権限で実行 #環境構築
  6. 導入準備でダウンロードしたyamlファイルディレクトリを選択し仮想環境を作成
conda env create -f C:\yourenvironment\dlc-windowsGPU.yaml
  1. 仮想環境に入る
conda activate dlc-windowsGPU
  1. pipで以下3つをインストール
pip install numpy==1.17.2
pip install deeplabcut
pip install imgaug
  1. pythonを実行しdeeplabcutをインポートできれば成功!!
python
import deeplabcut
1
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
5