failed to launch program

#10
by iamnotyet - opened

Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 7dd56b7bd6435f61915fdcb2453b1c3d89423bfe
Installing requirements for Web UI
Launching Web UI with arguments: --ckpt G:\work\sd\taiyi\taiyi-stable-diffusion-webui\models\Stable-diffusion\Taiyi-Stable-Diffusion-1B-Chinese-v0.1.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
G:\work\taiyi\stable-diffusion-webui\venv\lib\site-packages\transformers\tokenization_utils_base.py:1657: FutureWarning: Calling BertTokenizer.from_pretrained() with the path to a single file or url is deprecated and won't be possible anymore in v5. Use a model identifier or the path to a directory instead.
warnings.warn(
Traceback (most recent call last):
File "G:\work\taiyi\stable-diffusion-webui\venv\lib\site-packages\transformers\tokenization_utils_base.py", line 1929, in _from_pretrained
tokenizer = cls(*init_inputs, **init_kwargs)
File "G:\work\taiyi\stable-diffusion-webui\venv\lib\site-packages\transformers\models\bert\tokenization_bert.py", line 198, in init
self.vocab = load_vocab(vocab_file)
File "G:\work\taiyi\stable-diffusion-webui\venv\lib\site-packages\transformers\models\bert\tokenization_bert.py", line 101, in load_vocab
tokens = reader.readlines()
File "C:\Users\notyet\AppData\Local\Programs\Python\Python310\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 64: invalid start byte

I have this problem too, does anyone know how to solve it?

Fengshenbang-LM org

please try upgrade transformers version

Sign up or log in to comment