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?

Deeplabcutのインストール in MacBook Air

Posted at

MacBook AirでDeeplabcutが使いたい。

あくまで本記事は、個人用のメモの範疇になりますが、もし参考にある方がいれば幸いです。
(単なる、公式Githubの簡略版かつ日本語版です)

Deeplabcutの詳細については、URLを参照してください。
https://www.mackenziemathislab.org/deeplabcut

主にこの手順です。
https://deeplabcut.github.io/DeepLabCut/docs/installation.html

minicondaを用いています。

私は過去にNVIDIA windows PCでDeeplabcutを用いていました。
その際は、Anacondaを使っていましたが、どうやらMacBookではminicondaが推奨されているようです。
なので、今回もminicondaを使って、環境を管理しています。

環境構築

まずは、minicondaを用いて、環境を作ります。
といっても、yamlがあるので、それを用いて作れば良いだけです。

DEEPLABCUT.yamlファイルをダウンロードしておきます。
↓ここでダウンロードできます。
https://github.com/DeepLabCut/DeepLabCut/blob/main/conda-environments/DEEPLABCUT.yaml

その後、.yamlファイルがあるフォルダに移動します。
(多くの方は、デフォルトのダウンロードフォルダにいくと思うので、そのパスをコピーすれば良いです)
cd /yamlファイルがあるフォルダパス/

そして、以下のコードでyamlファイルをもとに環境を作ります。
conda env create -f DEEPLABCUT.yaml

そうすれば、早速GUIで操作できるようになります。
とても簡単です。

GUIの起動

python -m deeplabcut

これでGUIが立ち上がります。
以上です。

実際の解析手順は、次の記事を作りたいと思います。
(そちらも公式の簡略版かつ日本語版になるだけですが。。。)

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?