aigc-apps / EasyAnimate

📺 An End-to-End Solution for High-Resolution and Long Video Generation Based on Transformer Diffusion
Apache License 2.0
1.42k stars 106 forks source link

Expecting value: line 1 column 1 (char 0) #147

Open liubin79813 opened 23 hours ago

liubin79813 commented 23 hours ago

hey,bro,I have a running issue in comfyui, which is as follows:

pytorch version: 2.4.1+cu124 WARNING: Failed to find MSVC. xformers version: 0.0.28.post1 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync Using xformers cross attention

got prompt

missing keys: 0;

unexpected keys: 0;

[] [] loaded 3D transformer's pretrained weights from E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\models\EasyAnimate\EasyAnimateV5-12b-zh-InP\transformer ... !!! Exception during processing !!! Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\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 "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\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 "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\custom_nodes\EasyAnimate\comfyui\comfyui_nodes.py", line 161, in loadmodel transformer = Choosen_Transformer3DModel.from_pretrained_2d( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\custom_nodes\EasyAnimate\easyanimate\models\transformer3d.py", line 1383, in from_pretrained_2d config = json.load(f) ^^^^^^^^^^^^ File "json__init.py", line 293, in load File "json\init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 355, in raw_decode json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Prompt executed in 1.32 seconds


Please help me solve it

bubbliiiing commented 22 hours ago

Can you provide the details of your 'E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\models\EasyAnimate\EasyAnimateV5-12b-zh-InP\transformer\config.json' file?

liubin79813 commented 22 hours ago

config.json

here it is.

liubin79813 commented 22 hours ago

I checked and it seems that I downloaded an incorrect file. I downloaded it again and it seems to work, but after running for a while, it still reported the error from earlier.

got prompt

missing keys: 0;

unexpected keys: 0;

[] [] loaded 3D transformer's pretrained weights from E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\models\EasyAnimate\EasyAnimateV5-12b-zh-InP\transformer ...

missing keys: 0;

unexpected keys: 0;

[]

All Parameters: 11797.69248 M

attn1 Parameters: 1812.54144 M

!!! Exception during processing !!! Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\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 "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\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 "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\ComfyUI\custom_nodes\EasyAnimate\comfyui\comfyui_nodes.py", line 170, in loadmodel tokenizer = BertTokenizer.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI_Mie_V3.0\ComfyUI_Mie_3.0\ComfyUI_Mie_V3.0\python_embeded\Lib\site-packages\transformers\tokenization_utils_base.py", line 2152, in from_pretrained tokenizer_config = json.load(reader) ^^^^^^^^^^^^^^^^^ File "json__init.py", line 293, in load File "json\init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 355, in raw_decode json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Prompt executed in 120.10 seconds

bubbliiiing commented 21 hours ago

This is not right, it should be like this. image

bubbliiiing commented 21 hours ago

nodes.py", line 170, in loadmodel tokenizer = BertTokenizer.from_pretrained(

How did you download the weights? It seems that there is a significant issue with the weights.