You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are now studying how to deploy a mmpose algorithm to a RK3588 pad (Android system). The first job we've done is to convert the mmpose inference model to onnx format and then rknn format.
We used torch.onnx.export to otain an onnx model which has been verified to obtain correct results. Then the following code is used to get the rknn format :
from rknn.api import RKNN
import cv2
import numpy as np
if name == 'main':
rknn = RKNN(verbose=True,verbose_file="log.txt")
The tranfer process is good and no error or warning is found from the log.txt. However when the mmpose.rknn model is verified through a python program, very odd result is shown. 4 key points are found but located in the same position. We've checked the postprocessing code and they are correct.
Is there anyone who has tried the similar work and share some expereience with us? Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are now studying how to deploy a mmpose algorithm to a RK3588 pad (Android system). The first job we've done is to convert the mmpose inference model to onnx format and then rknn format.
We used torch.onnx.export to otain an onnx model which has been verified to obtain correct results. Then the following code is used to get the rknn format :
from rknn.api import RKNN
import cv2
import numpy as np
if name == 'main':
rknn = RKNN(verbose=True,verbose_file="log.txt")
The tranfer process is good and no error or warning is found from the log.txt. However when the mmpose.rknn model is verified through a python program, very odd result is shown. 4 key points are found but located in the same position. We've checked the postprocessing code and they are correct.
Is there anyone who has tried the similar work and share some expereience with us? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions