danny-zhu
danny-zhu
根据野火提供的教程https://doc.embedfire.com/linux/rk356x/Ai/zh/latest/lubancat_ai/example/yolov5.html,将pt转成onnx后,再利用rknn-tookit2转rknn时,测试的result.jpg图片出现了花屏,也就是大量的目标检测框框。如下图:  后来发现有个博主遇到类似的问题https://blog.csdn.net/weixin_43141131/article/details/128407827,根据他的提示是由于导出时,也就是野火提供的导出教程文档,修改的yolo.py的forward方法里增加sigmoid函数处理,导致了花屏,把这个sigmoid函数去掉就好了。yolov5的models/yolo.py forward方法改成下面这样,就可以了。 ```python def forward(self, x): z = [] # inference output for i in range(self.nl): x[i] = self.m[i](x[i]) # conv return x ```
用的0.12.3版本,分析了3条语句,语句及得分如下,这三条分析结果都不太准,第一条结果还算靠谱,第二条得分明显偏高,第三条低的离谱。 ---------------------------------------------------------- SnowNLP(u'质量还行,要是能再送个小礼品就更好了。').sentiments 得分:0.725280484790826 ---------------------------------------------------------- SnowNLP(u'用了一天,先说今天的感受。手机外观没问题,流畅,两三年没用苹果了还在熟悉回来。然后是拍照,我懒得拿以前的苹果出来对比,对比了手里的fingx,真实不黄。今天一天电池续航挺好的,到手后又充了百分之二三十,然后熬到晚上十点。屏幕的话,把原彩关了,就是正常颜色,不显黄。但是!!!我想吐槽这个信号,是真差,嗯非常差,暂时只有这个想吐槽,信号永远不满格。是F开头,国行。').sentiments 得分:0.8826779192350063 ---------------------------------------------------------- SnowNLP(u'一直用苹果的老粉。用了几天真实评价,买正品国行必须来这家。客服和物流都相当满意。快递小哥当面喊拆封无任何问题才离开。空气塑料包装,安全可靠。话不多说,实拍图鉴赏').sentiments 得分:0.020775001949364325
编译报错
环境:windows 11,go v1.21.1,IDE goland v2023.2.1 已经参考 https://github.com/DTStack/chengying-agent/issues/4 安装protobuf的软件包 在chengying-agent目录下执行make all报错如下: ``` Generating protocol codes ... protoc -I=internal/proto -I=D:\Go_Workspace\chengying-1.1.1\chengying-server\matrix;D:\Go_Workspace\chengying-1.1.1\chengying-server;D:\Go_Workspace\chengying-1.1.1;C:\Users\Administrator\go/src/ -I=D:\Go_Workspace\chengying-1.1.1\chengying-server\matrix;D:\Go_Workspace\chengying-1.1.1\chengying-server;D:\Go_Workspace\chengying-1.1.1;C:\Users\Administrator\go/src/github.com/gogo/protobuf/protobuf/ \ --gogo_out=Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/duration.proto=github.com/gogo/protobuf/types,plugins=grpc:internal/proto internal/proto/service.proto D:Go_Workspacechengying-1.1.1chengying-servermatrix: warning: directory does not exist. Missing input...
### Is there an existing issue for the same bug? - [X] I have checked the existing issues. ### RAGFlow workspace code commit ID 0.14.1 ### RAGFlow image version 0.14.1...
As title, I am confusing on how to use VLM in agent.