StartHua / Comfyui_CXH_joy_caption

Recommended based on comfyui node pictures:Joy_caption + MiniCPMv2_6-prompt-generator + florence2
Apache License 2.0
350 stars 23 forks source link

Joy_caption_load ValueError #46

Open shhshopee opened 1 month ago

shhshopee commented 1 month ago

ComfyUI Error Report

Error Details

StartHua commented 1 month ago

查看transform版本,估计是被其它插件强制了版本

Maelstrom2014 commented 1 month ago

same error: ValueError: rope_scaling must be a dictionary with with two fields, type and factor, got {'factor': 8.0, 'high_freq_factor': 4.0, 'low_freq_factor': 1.0, 'original_max_position_embeddings': 8192, 'rope_type': 'llama3'}

please give a solution.

Maelstrom2014 commented 1 month ago

the problem is that a possible solution is to: pip install --upgrade transformers BUT transformers DOWNGRADING durung startup of COMFYUI. What to do?