[Bug Fix] Fix the error when tinypose uses python under rknpu (#1437)

fixed bug
This commit is contained in:
Zheng-Bicheng
2023-02-27 09:41:13 +08:00
committed by GitHub
parent 8e50fa307c
commit 88c4f075e2

View File

@@ -76,10 +76,10 @@ class PPTinyPose(FastDeployModel):
"""
This function will disable normalize in preprocessing step.
"""
self.disable_normalize()
self._model.disable_normalize()
def disable_permute(self):
"""
This function will disable hwc2chw in preprocessing step.
"""
self.disable_permute()
self._model.disable_permute()