mirror of
https://github.com/MarcA711/frigate-rockchip.git
synced 2025-10-08 02:00:30 +08:00
Reimplement support for rknn detector (#11365)
* initial support for rknn detector * remove purge_model_cache option * update rknn * support rk3576 * fix post_process_yolonas call * add yolonas models * update config * exclude yolonas from image * remove code
This commit is contained in:
@@ -72,7 +72,7 @@ class DetectionApi(ABC):
|
||||
|
||||
def post_process(self, output):
|
||||
if self.detector_config.model.model_type == ModelTypeEnum.yolonas:
|
||||
return self.yolonas(output)
|
||||
return self.post_process_yolonas(output)
|
||||
else:
|
||||
raise ValueError(
|
||||
f'Model type "{self.detector_config.model.model_type}" is currently not supported.'
|
||||
|
Reference in New Issue
Block a user