StartHua / Comfyui_CXH_joy_caption

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

Joy_caption_load ValueError #46

Open shhshopee opened 2 months ago

shhshopee commented 2 months ago

ComfyUI Error Report

Error Details

StartHua commented 2 months ago

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

Maelstrom2014 commented 2 months 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 2 months ago

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