Closed arvinyi closed 2 years ago
假装看不到吧,这个我也不知道该咋解决了。。
2021-07-30 15:45:48.3226553 [W:onnxruntime:, execution_frame.cc:721 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {1,19} does not match actual shape of {1,20} for output output
I don't know the means number(3),can you explain it
Insert this code into _./insightface_func/face_detect_cropsingle.py and _./insightface_func/face_detect_cropmulti.py to supress error msg:
10 import onnxruntime 11 onnxruntime.set_default_logger_severity(3)
This will show if onnx running on CPU or GPU: 12 print( "Running on: " + onnxruntime.get_device() ) optional:
pip安装1.0.9版即可
2021-07-30 15:45:48.3226553 [W:onnxruntime:, execution_frame.cc:721 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {1,19} does not match actual shape of {1,20} for output output![screenImg03](https://user-images.githubusercontent.com/88183795/127619825-37944811-3e40-4122-be1d-05562552a0d6.png)