You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can change the transformers version to 4.19.2 to solve it
New error when modifying the transformers version to 4.4.0: from transformers import T5Tokenizer, T5EncoderModel, CLIPTokenizer, CLIPTextModel
ImportError: cannot import name 'CLIPTokenizer' from 'transformers' (unknown location),
the reason seems to be that the transformers version is too low
model = create_model('./configs/cldm_v15_ehdecoder.yaml').cpu()在创建模型的时候报错TypeError: expected str, bytes or os.PathLike object, not NoneType。寻找原因发现 configs/cldm_v15_ehdecoder.yaml文件中的
cond_stage_config:
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
无法创建这一模块?有人出现同样的问题吗?怎么解决呢?期待得到回复?
The text was updated successfully, but these errors were encountered: