fix post_process_yolonas call

This commit is contained in:
MarcA711 2024-05-20 09:26:51 +00:00
parent e4cf53070f
commit c00a9b255a

View File

@ -72,7 +72,7 @@ class DetectionApi(ABC):
def post_process(self, output): def post_process(self, output):
if self.detector_config.model.model_type == ModelTypeEnum.yolonas: if self.detector_config.model.model_type == ModelTypeEnum.yolonas:
return self.yolonas(output) return self.post_process_yolonas(output)
else: else:
raise ValueError( raise ValueError(
f'Model type "{self.detector_config.model.model_type}" is currently not supported.' f'Model type "{self.detector_config.model.model_type}" is currently not supported.'