Closed fenghen201002 closed 1 month ago
已解决,用秋叶汉化包的请注意解压里有汉语()记得删除
具体怎么解决的哇大佬?
具体怎么解决的哇大佬?
由具体一点的报错?
具体怎么解决的哇大佬?
由具体一点的报错? 搞半天了,不知道咋整
Exception Message: Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted.
File "D:\新桌面\comfyui\comfyui\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "D:\新桌面\comfyui\comfyui\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "D:\新桌面\comfyui\comfyui\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\新桌面\comfyui\comfyui\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-KwaiKolorsWrapper\nodes.py", line 190, in loadmodel
tokenizer = ChatGLMTokenizer.from_pretrained(text_encoder_path)
File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2163, in from_pretrained
return cls._from_pretrained(
File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2399, in _from_pretrained
raise OSError(
## System Information
- **ComfyUI Version:** v0.2.2-94-g614377a
- **Arguments:** D:\新桌面\comfyui\comfyui\main.py --auto-launch --preview-method auto --disable-cuda-malloc
- **OS:** nt
- **Python Version:** 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.1.2+cu118
## Devices
- **Name:** cuda:0 NVIDIA GeForce RTX 3080 Laptop GPU : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 17179344896
- **VRAM Free:** 15918301184
- **Torch VRAM Total:** 100663296
- **Torch VRAM Free:** 92143616
## Logs
2024-10-08 21:58:29,486 - root - INFO - Total VRAM 16384 MB, total RAM 64943 MB 2024-10-08 21:58:29,486 - root - INFO - pytorch version: 2.1.2+cu118 2024-10-08 21:58:31,368 - root - INFO - xformers version: 0.0.23.post1+cu118 2024-10-08 21:58:31,368 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-08 21:58:31,368 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3080 Laptop GPU : cudaMallocAsync 2024-10-08 21:58:37,079 - root - INFO - Using xformers cross attention 2024-10-08 21:58:40,960 - root - INFO - [Prompt Server] web root: D:\新桌面\comfyui\comfyui\web 2024-10-08 21:58:54,873 - root - INFO - Import times for custom nodes: 2024-10-08 21:58:54,873 - root - INFO - 0.0 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\websocket_image_save.py 2024-10-08 21:58:54,873 - root - INFO - 0.0 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\cg-use-everywhere 2024-10-08 21:58:54,873 - root - INFO - 0.0 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-Universal-Styler 2024-10-08 21:58:54,873 - root - INFO - 0.0 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\klinter_nodes 2024-10-08 21:58:54,873 - root - INFO - 0.1 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-Custom-Scripts 2024-10-08 21:58:54,874 - root - INFO - 0.1 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\OneButtonPrompt 2024-10-08 21:58:54,874 - root - INFO - 0.1 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\rgthree-comfy 2024-10-08 21:58:54,874 - root - INFO - 0.6 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-Manager 2024-10-08 21:58:54,874 - root - INFO - 1.0 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-KwaiKolorsWrapper 2024-10-08 21:58:54,874 - root - INFO - 1.3 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-Florence2 2024-10-08 21:58:54,874 - root - INFO - 6.6 seconds: D:\新桌面\comfyui\comfyui\custom_nodes\comfy_mtb 2024-10-08 21:58:54,874 - root - INFO - 2024-10-08 21:58:54,889 - root - INFO - Starting server
2024-10-08 21:58:54,891 - root - INFO - To see the GUI go to: http://127.0.0.1:8188 2024-10-08 21:58:59,772 - root - INFO - got prompt 2024-10-08 21:58:59,836 - root - INFO - Using xformers attention in VAE 2024-10-08 21:58:59,839 - root - INFO - Using xformers attention in VAE 2024-10-08 21:59:11,541 - root - ERROR - !!! Exception during processing !!! Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted. 2024-10-08 21:59:11,545 - root - ERROR - Traceback (most recent call last): File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2397, in _from_pretrained tokenizer = cls(*init_inputs, **init_kwargs) File "D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-KwaiKolorsWrapper\kolors\models\tokenization_chatglm.py", line 101, in init self.tokenizer = SPTokenizer(vocab_file) File "D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-KwaiKolorsWrapper\kolors\models\tokenization_chatglm.py", line 15, in init self.sp_model = SentencePieceProcessor(model_file=model_path) File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\sentencepiece__init.py", line 447, in Init self.Load(model_file=model_file, model_proto=model_proto) File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\sentencepiece__init__.py", line 905, in Load return self.LoadFromFile(model_file) File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\sentencepiece\init__.py", line 310, in LoadFromFile return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg) OSError: Not found: "D:\新桌面\comfyui\comfyui\models\diffusers\Kolors\text_encoder\tokenizer.model": No such file or directory Error #2
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\新桌面\comfyui\comfyui\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\新桌面\comfyui\comfyui\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\新桌面\comfyui\comfyui\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\新桌面\comfyui\comfyui\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-KwaiKolorsWrapper\nodes.py", line 190, in loadmodel tokenizer = ChatGLMTokenizer.from_pretrained(text_encoder_path) File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2163, in from_pretrained return cls._from_pretrained( File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2399, in _from_pretrained raise OSError( OSError: Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted.
2024-10-08 21:59:11,547 - root - INFO - Prompt executed in 11.75 seconds 2024-10-08 21:59:53,642 - root - INFO - got prompt 2024-10-08 22:00:02,418 - root - ERROR - !!! Exception during processing !!! Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted. 2024-10-08 22:00:02,420 - root - ERROR - Traceback (most recent call last): File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2397, in _from_pretrained tokenizer = cls(*init_inputs, **init_kwargs) File "D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-KwaiKolorsWrapper\kolors\models\tokenization_chatglm.py", line 101, in init self.tokenizer = SPTokenizer(vocab_file) File "D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-KwaiKolorsWrapper\kolors\models\tokenization_chatglm.py", line 15, in init self.sp_model = SentencePieceProcessor(model_file=model_path) File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\sentencepiece__init.py", line 447, in Init self.Load(model_file=model_file, model_proto=model_proto) File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\sentencepiece__init__.py", line 905, in Load return self.LoadFromFile(model_file) File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\sentencepiece\init__.py", line 310, in LoadFromFile return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg) OSError: Not found: "D:\新桌面\comfyui\comfyui\models\diffusers\Kolors\text_encoder\tokenizer.model": No such file or directory Error #2
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\新桌面\comfyui\comfyui\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\新桌面\comfyui\comfyui\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\新桌面\comfyui\comfyui\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\新桌面\comfyui\comfyui\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\新桌面\comfyui\comfyui\custom_nodes\ComfyUI-KwaiKolorsWrapper\nodes.py", line 190, in loadmodel tokenizer = ChatGLMTokenizer.from_pretrained(text_encoder_path) File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2163, in from_pretrained return cls._from_pretrained( File "D:\新桌面\comfyui\comfyui\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2399, in _from_pretrained raise OSError( OSError: Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted.
2024-10-08 22:00:02,421 - root - INFO - Prompt executed in 8.76 seconds
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":60,"last_link_id":79,"nodes":[{"id":41,"type":"ShowText|pysssss","pos":{"0":340.5837707519531,"1":652.0485229492188},"size":{"0":418.5215759277344,"1":172.5160675048828},"flags":{},"order":16,"mode":0,"inputs":[{"name":"text","type":"STRING","link":55,"widget":{"name":"text"},"label":"文本"}],"outputs":[{"name":"STRING","type":"STRING","links":[73],"slot_index":0,"shape":6,"label":"字符串"}],"properties":{"Node name for S&R":"ShowText|pysssss","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["","The image is a digital illustration of a young woman with long blonde hair and blue eyes. She is wearing a blue and white outfit with a gold crown on her head. The woman is standing in a dark room with a chandelier hanging from the ceiling and pink rose petals scattered around her. She has a serious expression on her face and is looking off to the side. The overall mood of the image is peaceful and serene."],"color":"#223","bgcolor":"#335"},{"id":39,"type":"Florence2Run","pos":{"0":355.25860595703125,"1":296.4988098144531},"size":{"0":400,"1":352},"flags":{},"order":14,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":53,"slot_index":0},{"name":"florence2_model","type":"FL2MODEL","link":54,"slot_index":1}],"outputs":[{"name":"image","type":"IMAGE","links":null,"shape":3},{"name":"mask","type":"MASK","links":null,"shape":3},{"name":"caption","type":"STRING","links":[55],"slot_index":2,"shape":3},{"name":"data","type":"JSON","links":null}],"properties":{"Node name for S&R":"Florence2Run","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["","more_detailed_caption",true,false,1024,5,true,"",493502735355087,"randomize"],"color":"#223","bgcolor":"#335"},{"id":40,"type":"DownloadAndLoadFlorence2Model","pos":{"0":-80.74138641357422,"1":661.498779296875},"size":{"0":315,"1":106},"flags":{},"order":0,"mode":0,"inputs":[{"name":"lora","type":"PEFTLORA","link":null,"shape":7}],"outputs":[{"name":"florence2_model","type":"FL2MODEL","links":[54],"shape":3}],"properties":{"Node name for S&R":"DownloadAndLoadFlorence2Model","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["microsoft/Florence-2-base","fp16","sdpa"],"color":"#223","bgcolor":"#335"},{"id":55,"type":"Note","pos":{"0":-66.3125,"1":87.44902038574219},"size":{"0":316.5354309082031,"1":58},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["科学上网后模型会自动下载"],"color":"#432","bgcolor":"#653"},{"id":56,"type":"Note","pos":{"0":-82.74138641357422,"1":811.498779296875},"size":{"0":316.5354309082031,"1":58},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["科学上网后模型会自动下载"],"color":"#432","bgcolor":"#653"},{"id":42,"type":"OneButtonFlufferize","pos":{"0":1307,"1":205},"size":{"0":388.5755615234375,"1":156.85308837890625},"flags":{},"order":19,"mode":0,"inputs":[{"name":"prompt","type":"STRING","link":75,"widget":{"name":"prompt"}}],"outputs":[{"name":"fluffed_prompt","type":"STRING","links":[60,62],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"OneButtonFlufferize","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["","dynamic",false,91899622553155,"randomize"],"color":"#223","bgcolor":"#335"},{"id":35,"type":"KolorsSampler","pos":{"0":2434.5673828125,"1":53.5652961730957},"size":{"0":315,"1":266},"flags":{},"order":22,"mode":0,"inputs":[{"name":"kolors_model","type":"KOLORSMODEL","link":47,"label":"Kolors模型"},{"name":"kolors_embeds","type":"KOLORS_EMBEDS","link":48,"slot_index":1,"label":"Kolors嵌入组"},{"name":"latent","type":"LATENT","link":null,"slot_index":2,"label":"Latent","shape":7},{"name":"width","type":"INT","link":63,"widget":{"name":"width"},"label":"宽度"},{"name":"height","type":"INT","link":64,"slot_index":4,"widget":{"name":"height"},"label":"高度"}],"outputs":[{"name":"latent","type":"LATENT","links":[50,79],"slot_index":0,"shape":3,"label":"Latent"}],"properties":{"Node name for S&R":"KolorsSampler","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[1344,768,378691990737062,"randomize",25,5,"EulerDiscreteScheduler",1],"color":"#223","bgcolor":"#335"},{"id":15,"type":"VAEDecode","pos":{"0":2822.5673828125,"1":54.5652961730957},"size":{"0":210,"1":46},"flags":{},"order":23,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":50,"label":"Latent"},{"name":"vae","type":"VAE","link":22,"slot_index":1,"label":"VAE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[24],"slot_index":0,"shape":3,"label":"图像"}],"properties":{"Node name for S&R":"VAEDecode","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[],"color":"#223","bgcolor":"#335"},{"id":17,"type":"SaveImage","pos":{"0":3081,"1":55},"size":{"0":410.2972106933594,"1":411.9468688964844},"flags":{},"order":25,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":24,"label":"图像"}],"outputs":[],"properties":{"Node name for S&R":"SaveImage","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[""],"color":"#223","bgcolor":"#335"},{"id":59,"type":"Note","pos":{"0":1997,"1":-47},"size":{"0":315.7101135253906,"1":58},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["科学上网后插件内部会自动下载Kolors模型"],"color":"#432","bgcolor":"#653"},{"id":57,"type":"Note","pos":{"0":-118,"1":-729},"size":{"0":499.80975341796875,"1":209.79412841796875},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["ComfyUI+Kolors+Florence-2实现多张图片融合\n\nComfyUI工作流合集:https://zhuzhukeji.cn\n专流专包:https://zhuzhukeji.cn/comfyui?name=comfyui_20240715\n插件:https://github.com/kijai/ComfyUI-KwaiKolorsWrapper.git\n\n【相关工作流】\nhttps://zhuzhukeji.cn?workflow=ComfyUI+Florence-2实现对象检测、图像分割、OCR等\nhttps://zhuzhukeji.cn?workflow=ComfyUI+Kolors可图大模型实现文生图、图生图\n\n【更新日志】\n2024.07.16 首次发布"],"color":"#432","bgcolor":"#653"},{"id":28,"type":"Florence2Run","pos":{"0":355.48468017578125,"1":-426.6043701171875},"size":{"0":400,"1":352},"flags":{},"order":15,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":38,"slot_index":0},{"name":"florence2_model","type":"FL2MODEL","link":39,"slot_index":1}],"outputs":[{"name":"image","type":"IMAGE","links":null,"shape":3},{"name":"mask","type":"MASK","links":null,"shape":3},{"name":"caption","type":"STRING","links":[41],"slot_index":2,"shape":3},{"name":"data","type":"JSON","links":null}],"properties":{"Node name for S&R":"Florence2Run","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["","more_detailed_caption",true,false,1024,5,true,"",390750098503697,"randomize"],"color":"#223","bgcolor":"#335"},{"id":44,"type":"Display Any (rgthree)","pos":{"0":1295,"1":405},"size":{"0":456.02508544921875,"1":122.77413177490234},"flags":{},"order":21,"mode":0,"inputs":[{"name":"source","type":"","link":62,"dir":3,"label":"输入"}],"outputs":[],"properties":{"Node name for S&R":"Display Any (rgthree)","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["\"The image is an illustration of a female warrior with long blonde hair and blue eyes. She is wearing a crown on her head and is holding a sword in her right hand. She has a fierce expression on her face and is looking directly at the viewer. In the background, there are several knights in full armor, holding swords and shields. The overall mood of the image is intense and powerful. , and also, The image is a digital illustration of a young woman with long blonde hair and blue eyes. She is wearing a blue and white outfit with a gold crown on her head. The outfit appears to be made of a combination of leather and fabric, with a high neckline and long sleeves. The woman has a serious expression on her face and is looking off to the side. The background is dark and there are pink rose petals scattered around her, giving the image a romantic and dreamy feel. The overall mood of the image is peaceful and serene., perfect symmetry, cinematic atmosphere, warm light, dynamic dramatic atmosphere, inspired, very inspirational\""],"color":"#223","bgcolor":"#335"},{"id":38,"type":"LoadImage","pos":{"0":-79.74138641357422,"1":298.4988098144531},"size":{"0":315,"1":314},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[53],"slot_index":0,"shape":3,"label":"图像"},{"name":"MASK","type":"MASK","links":null,"shape":3,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["微信图片_20240621171240.jpg","image"],"color":"#223","bgcolor":"#335"},{"id":27,"type":"LoadImage","pos":{"0":-62.3125,"1":-423.55096435546875},"size":{"0":315,"1":314},"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[38],"slot_index":0,"shape":3,"label":"图像"},{"name":"MASK","type":"MASK","links":null,"shape":3,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["00004_1_4.png","image"],"color":"#223","bgcolor":"#335"},{"id":30,"type":"ShowText|pysssss","pos":{"0":359.48468017578125,"1":-83.60438537597656},"size":{"0":418.5215759277344,"1":172.5160675048828},"flags":{},"order":17,"mode":0,"inputs":[{"name":"text","type":"STRING","link":41,"widget":{"name":"text"},"label":"文本"}],"outputs":[{"name":"STRING","type":"STRING","links":[74],"slot_index":0,"shape":6,"label":"字符串"}],"properties":{"Node name for S&R":"ShowText|pysssss","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["","The image is an illustration of a female warrior with long blonde hair and blue eyes. She is wearing a crown on her head and is holding a sword in her right hand. She has a fierce expression on her face and is looking directly at the viewer. In the background, there are several knights in full armor, holding swords and shields. The overall mood of the image is intense and powerful."],"color":"#223","bgcolor":"#335"},{"id":58,"type":"Note","pos":{"0":2429,"1":492},"size":{"0":418.0347595214844,"1":71.83651733398438},"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["存放目录:ComfyUI/models/vae\n模型下载:https://zhuzhukeji.cn/model?name=sdxl_vae.safetensors\n"],"color":"#432","bgcolor":"#653"},{"id":29,"type":"DownloadAndLoadFlorence2Model","pos":{"0":-68.3125,"1":-61.55097579956055},"size":{"0":315,"1":106},"flags":{},"order":8,"mode":0,"inputs":[{"name":"lora","type":"PEFTLORA","link":null,"shape":7}],"outputs":[{"name":"florence2_model","type":"FL2MODEL","links":[39],"shape":3}],"properties":{"Node name for S&R":"DownloadAndLoadFlorence2Model","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["microsoft/Florence-2-base","fp16","sdpa"],"color":"#223","bgcolor":"#335"},{"id":46,"type":"SizeSelector","pos":{"0":2016.5673828125,"1":550.5653076171875},"size":{"0":315,"1":78},"flags":{},"order":9,"mode":0,"inputs":[],"outputs":[{"name":"width","type":"INT","links":[63],"slot_index":0,"shape":3},{"name":"height","type":"INT","links":[64],"shape":3}],"properties":{"Node name for S&R":"SizeSelector","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["720x1280 - native 9:16"],"color":"#223","bgcolor":"#335"},{"id":16,"type":"VAELoader","pos":{"0":2432.5673828125,"1":380.5653076171875},"size":{"0":315,"1":58},"flags":{},"order":10,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[22],"shape":3}],"properties":{"Node name for S&R":"VAELoader","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["sdxl_vae.safetensors"],"color":"#223","bgcolor":"#335"},{"id":60,"type":"Reroute","pos":{"0":2816,"1":199},"size":[75,26],"flags":{},"order":24,"mode":0,"inputs":[{"name":"","type":"","link":79}],"outputs":[{"name":"","type":"LATENT","links":null,"slot_index":0}],"properties":{"showOutputText":false,"horizontal":false}},{"id":53,"type":"concat","pos":{"0":900,"1":210},"size":{"0":357.3743896484375,"1":74},"flags":{},"order":18,"mode":0,"inputs":[{"name":"string_a","type":"STRING","link":74,"widget":{"name":"string_a"}},{"name":"string_b","type":"STRING","link":72,"slot_index":1,"widget":{"name":"string_b"}},{"name":"string_c","type":"STRING","link":73,"widget":{"name":"string_c"}}],"outputs":[{"name":"STRING","type":"STRING","links":[75],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"concat","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["","",""],"color":"#223","bgcolor":"#335"},{"id":54,"type":"Simple String","pos":{"0":876,"1":347},"size":{"0":367.1211242675781,"1":58},"flags":{},"order":11,"mode":0,"inputs":[],"outputs":[{"name":"STRING","type":"STRING","links":[72],"shape":3,"label":"字符串"}],"properties":{"Node name for S&R":"Simple String","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[", and also, "],"color":"#223","bgcolor":"#335"},{"id":34,"type":"KolorsTextEncode","pos":{"0":1923,"1":187},"size":{"0":400,"1":200},"flags":{},"order":20,"mode":0,"inputs":[{"name":"chatglm3_model","type":"CHATGLM3MODEL","link":49,"slot_index":0,"label":"ChatGLM3"},{"name":"prompt","type":"STRING","link":60,"widget":{"name":"prompt"},"label":"正面提示词"}],"outputs":[{"name":"kolors_embeds","type":"KOLORS_EMBEDS","links":[48],"shape":3,"label":"Kolors嵌入组"}],"properties":{"Node name for S&R":"KolorsTextEncode","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["","blury, low quality",1],"color":"#223","bgcolor":"#335"},{"id":1,"type":"DownloadAndLoadKolorsModel","pos":{"0":2003.5673828125,"1":56.5652961730957},"size":{"0":315,"1":82},"flags":{},"order":12,"mode":0,"inputs":[],"outputs":[{"name":"kolors_model","type":"KOLORSMODEL","links":[47],"slot_index":0,"shape":3,"label":"Kolors模型"}],"properties":{"Node name for S&R":"DownloadAndLoadKolorsModel","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["Kwai-Kolors/Kolors","fp16"],"color":"#223","bgcolor":"#335"},{"id":36,"type":"DownloadAndLoadChatGLM3","pos":{"0":1923,"1":448},"size":{"0":315,"1":58},"flags":{},"order":13,"mode":0,"inputs":[],"outputs":[{"name":"chatglm3_model","type":"CHATGLM3MODEL","links":[49],"shape":3,"label":"ChatGLM3"}],"properties":{"Node name for S&R":"DownloadAndLoadChatGLM3","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["fp16"],"color":"#223","bgcolor":"#335"}],"links":[[22,16,0,15,1,"VAE"],[24,15,0,17,0,"IMAGE"],[38,27,0,28,0,"IMAGE"],[39,29,0,28,1,"FL2MODEL"],[41,28,2,30,0,"STRING"],[47,1,0,35,0,"KOLORSMODEL"],[48,34,0,35,1,"KOLORS_EMBEDS"],[49,36,0,34,0,"CHATGLM3MODEL"],[50,35,0,15,0,"LATENT"],[53,38,0,39,0,"IMAGE"],[54,40,0,39,1,"FL2MODEL"],[55,39,2,41,0,"STRING"],[60,42,0,34,1,"STRING"],[62,42,0,44,0,""],[63,46,0,35,3,"INT"],[64,46,1,35,4,"INT"],[72,54,0,53,1,"STRING"],[73,41,0,53,2,"STRING"],[74,30,0,53,0,"STRING"],[75,53,0,42,0,"STRING"],[79,35,0,60,0,""]],"groups":[{"title":"图片2","bounding":[-121,221,919,685],"color":"#3f789e","font_size":24,"flags":{}},{"title":"图片1","bounding":[-116,-502,917,705],"color":"#3f789e","font_size":24,"flags":{}},{"title":"Kolors模型+采样生成模块","bounding":[1799,-136,1743,846],"color":"#3f789e","font_size":24,"flags":{}},{"title":"提示词合并 融合模块","bounding":[827,-31,950,682],"color":"#3f789e","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":1,"offset":[-858.4735185266895,92.75184184999394]}},"version":0.4}
## Additional Context
(Please add any additional context or steps to reproduce the error here)
上面有人提到别用中文路径 你改下文件夹名称看看?
上面有人提到别用中文路径 你改下文件夹名称看看?
那就是我自己解决完回复的(/ω\)
具体怎么解决的哇大佬?
由具体一点的报错? 搞半天了,不知道咋整
路径有中文,路径不要有任何中文和中文符号
已解决,请注意文件路径有汉语以及汉语符号的记得删除
上面有人提到别用中文路径 你改下文件夹名称看看?
那就是我自己解决完回复的(/ω\)
是啊,刚其他人也遇到了,我忘记点回复了,感谢你
已解决,请注意文件路径有汉语以及汉语符号的记得删除
感谢,感谢,已解决,
上面有人提到别用中文路径 你改下文件夹名称看看?
那就是我自己解决完回复的(/ω\)
是啊,刚其他人也遇到了,我忘记点回复了,感谢你
谢谢了
Error occurred when executing MZ_ChatGLM3Loader:
Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted.
File "G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Kolors-MZ-main__init__.py", line 47, in load_chatglm3 return mz_kolors_core.MZ_ChatGLM3Loader_call(kwargs) File "G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Kolors-MZ-main\mz_kolors_core.py", line 129, in MZ_ChatGLM3Loader_call tokenizer = ChatGLMTokenizer.from_pretrained(tokenizer_path) File "G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2048, in from_pretrained return cls._from_pretrained( File "G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2289, in _from_pretrained raise OSError(
执行MZ_ChatGLM3Loader时出错:
无法从文件加载词汇表。请检查所提供的词汇表是否可访问且未损坏。
文件“G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\execution.py”,第 152 行,recursive_execute output_data,output_ui = get_output_data(obj, input_data_all) 文件“G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\execution.py”,第 82 行,get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=真) 文件“G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\execution.py”,第 75 行,map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) 文件“G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Kolors-MZ-main__init__.py”,第 47 行,load_chatglm3 返回mz_kolors_core。MZ_ChatGLM3Loader_call(千瓦格) 文件“G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Kolors-MZ-main\mz_kolors_core.py”,第 129 行,MZ_ChatGLM3Loader_call 分词器 = ChatGLMTokenizer.from_pretrained(tokenizer_path) 文件“G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\tokenization_utils_base.py”,第 2048 行,from_pretrained 返回 cls._from_pretrained( 文件“G:\AAAAAI\comfyui(aki)\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\tokenization_utils_base.py”,第 2289 行,_from_pretrained 提高OSError(
我并没有中文路径 不知道是其他什么问题导致,求大神们指导