打开微信,使用扫一扫进入页面后,点击右上角菜单,
点击“发送给朋友”或“分享到朋友圈”完成分享
运行的为在线实验的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
热门帖子
精华帖子