-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
server 的 cli , 即使指定了本地的模型也会下载,挪了 self.task_resource.set_task_model() 的位置就好了,已经在 #2056 中修复
cli/tts/infer.py 发现 self.task_resource.set_task_model() 也是在 if else 之前, 指定模型也会下载...
PaddleSpeech/paddlespeech/cli/tts/infer.py
Line 180 in 0ea9def
self.task_resource.set_task_model( |
但是 cli 的代码不敢像上述 pr 那样直接改,因为后面是会用到 self.task_resource.res_dict 的,直接挪到 if 里面,如果自己指定了模型,进的是 else 判断,self.task_resource.res_dict 变量就会不存在
目前除了 #2056 已经修复的地方,所有资源加载的位置都有此问题