我将Basic Usage示例代码里的
processor = AutoProcessor.from_pretrained( pretrained_model_name_or_path, trust_remote_code=True, )
里面的 pretrained_model_name_or_path替换为下载到本地的MOSS-TTS-Local-Transformer文件夹路径后,运行代码抛出error:
'[WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。' thrown while requesting HEAD https://huggingface.co/OpenMOSS-Team/MOSS-Audio-Tokenizer/resolve/main/config.json
我又下载了MOSS-Audio-Tokenizer项目里的文件,把 pretrained_model_name_or_path替换为MOSS-Audio-Tokenizer,但又出现error:
ValueError: Unrecognized processing class in D:\MOSS-Audio-Tokenizer. Can't instantiate a processor, a tokenizer, an image processor or a feature extractor for this model. Make sure the repository contains the files of at least one of those processing classes.
麻烦您有空看一看,这是什么原因呢
我将Basic Usage示例代码里的
processor = AutoProcessor.from_pretrained( pretrained_model_name_or_path, trust_remote_code=True, )里面的
pretrained_model_name_or_path替换为下载到本地的MOSS-TTS-Local-Transformer文件夹路径后,运行代码抛出error:'[WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。' thrown while requesting HEAD https://huggingface.co/OpenMOSS-Team/MOSS-Audio-Tokenizer/resolve/main/config.json
我又下载了
MOSS-Audio-Tokenizer项目里的文件,把pretrained_model_name_or_path替换为MOSS-Audio-Tokenizer,但又出现error:ValueError: Unrecognized processing class in D:\MOSS-Audio-Tokenizer. Can't instantiate a processor, a tokenizer, an image processor or a feature extractor for this model. Make sure the repository contains the files of at least one of those processing classes.麻烦您有空看一看,这是什么原因呢