Не удалось создать ссылку для общего доступа. Отсутствует файл: …\gradio\frpc_windows_amd64_v0.3.Python

Программы на Python
Ответить
Anonymous
 Не удалось создать ссылку для общего доступа. Отсутствует файл: …\gradio\frpc_windows_amd64_v0.3.

Сообщение Anonymous »

Сейчас я пытаюсь использовать OmniParser от MS. Когда я запускаю gradio_demo.py, возникает следующая ошибка.
(omni) C:\Users\ingeun\OmniParser>python gradio_demo.py --icon_detect_model weights/icon_detect_v1_5/model_v1_5.pt --icon_caption_model florence2
Florence2LanguageForConditionalGeneration has generative capabilities, as `prepare_inputs_for_generation` is explicitly overwritten. However, it doesn't directly inherit from `GenerationMixin`. From 👉v4.50👈 onwards, `PreTrainedModel` will NOT inherit from `GenerationMixin`, and this model will lose the ability to call `generate` and other related functions.
- If you're using `trust_remote_code=True`, you can get rid of this warning by loading the model with an auto class. See https://huggingface.co/docs/transformer ... to-classes
- If you are the owner of the model architecture code, please modify your model class such that it inherits from `GenerationMixin` (after `PreTrainedModel`, otherwise you'll get an exception).
- If you are not the owner of the model architecture class, please contact the model code owner to update it.
정보: 제공된 패턴에 해당되는 파일을 찾지 못했습니다.
* Running on local URL: http://0.0.0.0:7861

Could not create share link. Missing file: C:\Users\ingeun.hwang\AppData\Local\aipforge\envs\omni\Lib\site-packages\gradio\frpc_windows_amd64_v0.3.

Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps:

1. Download this file: https://cdn-media.huggingface.co/frpc-g ... _amd64.exe
2. Rename the downloaded file to: frpc_windows_amd64_v0.3
3. Move the file to this location: C:\Users\ingeun\AppData\Local\aipforge\envs\omni\Lib\site-packages\gradio

Я следовал инструкциям по сообщению об ошибках, чтобы загрузить файл и исправить путь.
Информация ниже представляет собой информацию об атрибутах файла после его перемещения. .

имя файла: frpc_windows_amd64_v0.3.exe
Расположение файла: C:\Users\ingeun\AppData\Local\aipforge\envs\omni\Lib\site-packages\gradio

Чтобы решить эту проблему, я установил «frpc_windows_amd64.exe» и изменил путь после изменения имени файла. Но проблема до сих пор не решена. Единственный существенный прогресс — это изменение сообщения об ошибке. Сообщение об ошибке, предлагающее загрузить файл, переименовать его и исправить путь, исчезло. Теперь я не знаю, что делать.
Директива для frpc_windows_amd64_v0.3 исчезла.
Смотрите сообщение об ошибке ниже.< /p>
(omni) C:\Users\ingeun.hwang\OmniParser>python gradio_demo.py --icon_detect_model weights/icon_detect_v1_5/model_v1_5.pt --icon_caption_model florence2
Florence2LanguageForConditionalGeneration has generative capabilities, as `prepare_inputs_for_generation` is explicitly overwritten. However, it doesn't directly inherit from `GenerationMixin`. From 👉v4.50👈 onwards, `PreTrainedModel` will NOT inherit from `GenerationMixin`, and this model will lose the ability to call `generate` and other related functions.
- If you're using `trust_remote_code=True`, you can get rid of this warning by loading the model with an auto class. See https://huggingface.co/docs/transformer ... to-classes
- If you are the owner of the model architecture code, please modify your model class such that it inherits from `GenerationMixin` (after `PreTrainedModel`, otherwise you'll get an exception).
- If you are not the owner of the model architecture class, please contact the model code owner to update it.
Running on local URL: http://0.0.0.0:7861

Could not create share link, please check your internet connection.


Подробнее здесь: https://stackoverflow.com/questions/793 ... amd64-v0-3
Ответить

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

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

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

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

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