|
同一张图像经过letterbox以及cvtColor函数转换以后,在python以及C++环境下得到相同的输出结果,但是经过rknn相关推理后得到的输出有个别数字存在0.1-0.3之间的差值。请问这是环境因素导致的吗?
python的输出
-0.370573,0.000000,0.123524,-0.123524,-8.893756,4.446878,-0.123524,0.247049,-0.247049,-0.247049,-9.511377,3.458683,0.247049,0.123524,-0.123524,0.000000,-10.993670,2.346963
0.000000,-0.247049,0.247049,-0.247049,-9.634902,2.223439,-0.123524,0.247049,0.123524,-0.123524,-9.881950,1.729341,0.123524,0.123524,0.000000,0.000000,-9.881950,1.729341
0.000000,-0.123524,0.123524,-0.123524,-10.005475,1.482293,0.123524,0.370573,0.000000,-0.123524,-10.252523,0.864671,0.000000,0.247049,0.123524,0.000000,-10.376048,0.864671
-0.123524,0.000000,0.000000,0.000000,-9.634902,0.864671,-0.123524,0.247049,0.000000,0.000000,-9.881950,0.247049,-0.123524,0.123524,0.000000,0.000000,-10.005475,0.123524
0.000000,0.000000,0.000000,0.000000,-9.634902,0.617622,-0.123524,0.247049,0.000000,0.000000,-9.881950,0.000000,-0.123524,0.123524,0.000000,0.000000,-10.005475,-0.123524
-0.123524,0.000000,0.000000,0.000000,-9.634902,0.617622,-0.123524,0.247049,0.000000,0.000000,-9.881950,-0.123524,0.000000,0.123524,0.123524,0.000000,-10.005475,-0.247049
C++的输出
-0.370573 7.45058e-08 0.123524 -0.123524 -9.1408 4.69393 -0.123524 0.370573 -0.247049 -0.247049 -9.75843 3.82926 0.247049 0.123524 -0.123524 7.45058e-08 -11.3642 2.59401
7.45058e-08 -0.123524 0.247049 -0.247049 -10.129 2.59401 -0.123524 0.247049 0.247049 -0.247049 -10.2525 2.09991 0.123524 0.247049 0.123524 7.45058e-08 -10.376 2.09991
7.45058e-08 -0.123524 0.123524 -0.123524 -10.376 1.85287 0.123524 0.494098 7.45058e-08 -0.123524 -10.4996 1.23524 7.45058e-08 0.247049 0.123524 7.45058e-08 -10.6231 1.23524
7.45058e-08 7.45058e-08 7.45058e-08 -0.123524 -9.75843 0.988195 -0.123524 0.247049 7.45058e-08 7.45058e-08 -9.88195 0.370573 -0.123524 0.123524 0.123524 7.45058e-08 -9.88195 0.247049
7.45058e-08 7.45058e-08 7.45058e-08 -0.123524 -9.6349 0.864671 -0.123524 0.247049 7.45058e-08 7.45058e-08 -9.75843 0.247049 -0.123524 0.123524 0.123524 7.45058e-08 -9.88195 0.123524
-0.123524 7.45058e-08 7.45058e-08 7.45058e-08 -9.51138 0.741146 -0.123524 0.123524 7.45058e-08 7.45058e-08 -9.75843 7.45058e-08 7.45058e-08 0.123524 7.45058e-08 7.45058e-08 -10.0055 -0.247049
|
|