RuntimeError: Вы, вероятно, запускаете Python из родительского каталога репозитория SAM2Python

Программы на Python
Ответить Пред. темаСлед. тема
Anonymous
 RuntimeError: Вы, вероятно, запускаете Python из родительского каталога репозитория SAM2

Сообщение Anonymous »

Доступна ли документация для интеграции колбы? Что я пытаюсь сделать, так это загрузить тонкую модель, в частности модель SAM2-MMALL, в приложение Flask.
RuntimeError: You're likely running Python from the parent directory of the SAM2 repository (i.e., the directory where https://github.com/facebookresearch/sam2 is cloned). This is not supported because the SAM2 Python package could be shadowed by the repository name (the repository is also named SAM2 and contains the Python package in `sam2/sam2`). Please run Python from another directory (e.g., from the repository directory rather than its parent directory, or from your home directory) after installing SAM2.
< /code>
Кто -нибудь может помочь мне с этой проблемой? /username/proejcts/project_name
для os.path.exists ("sam2") : true
ошибка:
RuntimeError: You're likely running Python from the parent directory of the sam2 repository (i.e. the directory where https://github.com/facebookresearch/sam2 is cloned into). This is not supported since the `sam2` Python package could be shadowed by the repository name (the repository is also named `sam2` and contains the Python package in `sam2/sam2`). Please run Python from another directory (e.g. from the repo dir rather than its parent dir, or from your home directory) after installing SAM 2.


Подробнее здесь: https://stackoverflow.com/questions/794 ... f-the-sam2
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Python»