見出し画像

【ComfyUI】Depth Anything実行時のエラーと対応


エラー内容

Depth Anythingノードを含むワークフローを実行すると
No such file or directory~以下略~の警告が出る

エラー発生条件

  • WindowsでComfyUI portable を使用

  • extra_model_paths.yamlにbase_pathを記載済

要因(未検証)

extra_model_paths.yamlにbase_pathを記載しても、custom_nodesの以下のファイルは参照されない。Depth Anythingのモデルのダウンロードがうまくいかないのだと推測。

解決方法

custom_nodesの以下のディレクトリにDepth Anythingのモデル(depth_anything_vitb14.pthなど)を手動ダウンロードして以下に格納すると解決する。

モデル入手先

格納先

C:\Users\ユーザー名\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\LiheYoung\Depth-Anything\checkpoints


参考情報

https://www.reddit.com/r/comfyui/comments/1e57wo1/problem_running_depth_anything/


この記事が気に入ったらサポートをしてみませんか?