×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

caffe框架下MLU270和MLU220的推理结果相差较大 已解决 有你的世界2021-12-28 12:10:55 回复 3 查看 使用求助
caffe框架下MLU270和MLU220的推理结果相差较大
分享到:

运行的为在线实验的caffe框架下移植yolov3的例子

将caffe.set_rt_core("MLU270")换为caffe.set_rt_core("MLU220")后输出结构相差较大


root@5ca981fec09d:/caffe/python# python detect1.py yolov3_int8.prototxt yolov3.caffemodel

CNML: 7.10.2 ba20487

CNRT: 4.10.1 a884a9a

1.0

        + Label: aeroplane, Conf: 0.98193

root@5ca981fec09d:/caffe/python# cp /mnt/online/detect.py detect1.py

root@5ca981fec09d:/caffe/python# python detect1.py yolov3_int8.prototxt yolov3.caffemodel

CNML: 7.10.2 ba20487

CNRT: 4.10.1 a884a9a

2021-12-28 12:03:51.495190: [cnrtWarning] [62] [Card : 0] The device you run is not the same as the platform in kernel!

2021-12-28 12:03:51.495207: [cnrtWarning] [62] [Card : 0] The device you run is MLU270, but the platform in kernel is MLU220!

16.0

        + Label: person, Conf: 0.60107

        + Label: person, Conf: 0.57080

        + Label: person, Conf: 0.55029

        + Label: car, Conf: 0.55176

        + Label: car, Conf: 0.54053

        + Label: car, Conf: 0.52051

        + Label: stop_sign, Conf: 0.51562

        + Label: stop_sign, Conf: 0.51465

        + Label: donut, Conf: 0.56250

        + Label: chair, Conf: 0.52734

        + Label: chair, Conf: 0.52246

        + Label: chair, Conf: 0.51855

        + Label: sink, Conf: 0.60254

        + Label: sink, Conf: 0.53418

        + Label: sink, Conf: 0.52344

        + Label: scissors, Conf: 0.52344


版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭