0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Anacondaを使わずにDeepLabCutを使いたい(Linux)

Last updated at Posted at 2022-05-30

DeepLabCutはAnaconda推奨と書かれていますが、AnacondaをインストールしなくてもDeeplabcutを使うことはできます。

事前準備

Anacondaを利用する場合と同様に
CUDA等をインストールしてGPUが動作する環境は整えておく必要があります。
こちらのページを参考にしてAnacondaをダウンロードする説明の前まで行っておきます。

DeepLabCutのインストール

新しいバージョン2.3のdeeplabcutが出ました。
deeplabcutのインストールは次の1行のみでOKになりました。(2023/2/1)

pip install 'deeplabcut[gui,tf]'

Deeplabcutを起動

python3 -m deeplabcut

img1.png

旧バージョン2.2をインストールする場合は以下をご覧ください

sudo apt update
sudo apt upgrade
sudo apt install git

GitHubよりDeepLabCutをコピーします

$ git clone https://github.com/DeepLabCut/DeepLabCut.git

DeepLabCutを起動する上で必要なものをインストールします

pip install tensorflow
pip install networkx
pip install pandas
pip install ruamel.yaml
pip install scipy
pip install filterpy
pip install numba
pip install tqdm
pip install scikit-image
pip install opencv-python
pip install opencv-contrib-python
pip install sklearn
pip install imgaug
pip install tensorpack
pip install tf_slim
pip install statsmodels
sudo apt install -y libgtk-3-dev
pip install wxPython

DeepLabCutが保存されているディレクトリに移動します

cd deeplabcut

Deeplabcutを起動

python3 -m deeplabcut

img18.png

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?