mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +08:00
按照要求更新
This commit is contained in:
@@ -71,3 +71,15 @@ class PPTinyPose(FastDeployModel):
|
||||
assert isinstance(
|
||||
value, bool), "The value to set `use_dark` must be type of bool."
|
||||
self._model.use_dark = value
|
||||
|
||||
def disable_normalize(self):
|
||||
"""
|
||||
This function will disable normalize in preprocessing step.
|
||||
"""
|
||||
self.disable_normalize()
|
||||
|
||||
def disable_permute(self):
|
||||
"""
|
||||
This function will disable hwc2chw in preprocessing step.
|
||||
"""
|
||||
self.disable_permute()
|
||||
|
Reference in New Issue
Block a user