def evaluate(rknn): print('--> Begin evaluate model performance') rknn.eval_perf(inputs=[np.asarray(Image.open('test.png'))]) print('done') 复制代码