错误信息
Can’t load tokenizer for ‘google/t5-v1_1-xxl’. If you were trying to load it from ‘https://huggingface.co/models’, make sure you don’t have a local directory with the same name. Otherwise, make sure ‘google/t5-v1_1-xxl’ is the correct path to a directory containing all relevant files for a T5TokenizerFast tokenizer.
错误分析
这是因为我们在在训练的时候使用了t5xxl
模型,而在训练lora的时候需要tokenizer
文件,我们从google/t5-v1_1-xxl下载对应的tokenizer文件放到目录下即可,需要下载的文件如截图所示,下载完之后的目录结果如下
ComfyUI/google/t5-v1_1-xxl