Physton / sd-webui-prompt-all-in-one

This is an extension based on sd-webui, aimed at improving the user experience of the prompt/negative prompt input box. It has a more intuitive and powerful input interface function, and provides automatic translation, history record, and bookmarking functions. 这是一个基于 sd-webui 的扩展,旨在提高提示词/反向提示词输入框的使用体验。它拥有更直观、强大的输入界面功能,它提供了自动翻译、历史记录和收藏等功能。
https://aiodoc.physton.com
MIT License
2.77k stars 248 forks source link

[Bug] mbart-large-50-many-to-many-mmt 初始化失败! #342

Open 1038lab opened 3 months ago

1038lab commented 3 months ago

Issue Feedback

Describe the Issue

mbart-large-50-many-to-many-mmt 初始化失败!: Couldn't build proto file into descriptor pool: duplicate file name sentencepiece_model.proto

Steps to Reproduce

No response

Screenshot or log

No response

OS

Windows

Browser

Chrome

Stable Diffusion WebUI version

1.9.3

Extension version

No response

Python version

No response

Gradio version

No response

Issues-translate-bot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Bug] mbart-large-50-many-to-many-mmt initialization failed!

picv888 commented 2 months ago

因为protobuf版本冲突。 暂时的解决办法是安装protobuf 3.20.3

  1. 进入stable diffusion webui的虚拟环境,假设你装在E盘,在命令行输入: E:\stable-diffusion-webui\venv\Scripts\activate
  2. 安装protobuf 3.20.3 pip install protobuf==3.20.3
Issues-translate-bot commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Both this plug-in and the ControlNet plug-in use protobuf, and their versions are conflicting. This plug-in requires protobuf version less than 4, The ControlNet plug-in requires the protobuf version to be greater than or equal to 4.25.3 and less than 5.

The temporary solution is to install protobuf 3.20.3

  1. Enter the virtual environment of stable diffusion webui, assuming you are installed on drive E: E:\stable-diffusion-webui\venv\Scripts
  2. Install protobuf 3.20.3 pip install protobuf==3.20.3

A complete solution requires the author of this plug-in to upgrade the protobuf version.