Firefly
Firefly copied to clipboard
执行单轮预测single_chat.py的脚本时,提示No module named 'component.utils'; 'component' is not a package
在安装component之前提示没有安装,安装后提示component不是一个包
你要到cd script/chat,先到这个目录下运行python single_chat.py。
作者在component文件夹下新增了utils .py文件,推理时加入: import sys sys.path.append("../") from component.utils import ModelUtils