{"record":{"id":"44e24ae88cce3123","repo":"blakeblackshear/frigate","slug":"self-memx-model-type-is-currently-not-supported","errorCode":null,"errorMessage":"{self.memx_model_type} is currently not supported for memryx. See the docs for more info on supported models.","messagePattern":"(.+?) is currently not supported for memryx\\. See the docs for more info on supported models\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"frigate/detectors/plugins/memryx.py","lineNumber":860,"sourceCode":"    def process_output(self, *outputs):\n        \"\"\"Output callback function -- receives frames from the MX3 and triggers post-processing\"\"\"\n        if self.memx_model_type == ModelTypeEnum.yologeneric:\n            # Use complete YOLOv9-style postprocessing (includes NMS)\n            final_detections = self.post_process_yolo_optimized(outputs)\n\n            self.output_queue.put(final_detections)\n\n        elif self.memx_model_type == ModelTypeEnum.yolonas:\n            return self.post_process_yolonas(outputs)\n\n        elif self.memx_model_type == ModelTypeEnum.yolox:\n            return self.post_process_yolox(outputs)\n\n        elif self.memx_model_type == ModelTypeEnum.ssd:\n            return self.post_process_ssdlite(outputs)\n\n        else:\n            raise Exception(\n                f\"{self.memx_model_type} is currently not supported for memryx. See the docs for more info on supported models.\"\n            )\n\n    def set_stop_event(self, stop_event):\n        \"\"\"Set the stop event for graceful shutdown.\"\"\"\n        self.stop_event = stop_event\n\n    def shutdown(self):\n        \"\"\"Gracefully shutdown the MemryX accelerator\"\"\"\n        try:\n            if hasattr(self, \"accl\") and self.accl is not None:\n                self.accl.shutdown()\n                logger.info(\"MemryX accelerator shutdown complete\")\n        except Exception as e:\n            logger.error(f\"Error during MemryX shutdown: {e}\")\n\n    def detect_raw(self, tensor_input: np.ndarray):\n        \"\"\"Removed synchronous detect_raw() function so that we only use async\"\"\"","sourceCodeStart":842,"sourceCodeEnd":878,"githubUrl":"https://github.com/blakeblackshear/frigate/blob/ca18b8dc131ccb3e086f13a780853b775ef13426/frigate/detectors/plugins/memryx.py#L842-L878","documentation":"MemryX detector output post-processing only implements branches for yolonas/ssd/yolox/yologeneric; any other ModelTypeEnum value in outputs dispatch falls through to this Exception at inference time. The configured model type is not supported by the memryx plugin.","triggerScenarios":"Running the memryx detector with memx_model_type set to a type with no post_process branch (e.g. a custom/other enum value), then detections arrive and process_output is called.","commonSituations":"Custom model zip with a model type enum the plugin does not post-process; config copy/pasted from another detector's model metadata; newer model type not yet supported by the installed Frigate version.","solutions":["Use one of the supported model types for memryx (yolonas, ssd, yolox, yologeneric)","Upgrade Frigate to a version whose memryx plugin supports your model type","Re-package/label the model with a supported type if the architecture actually matches one"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"from frigate.detectors.detector_config import ModelTypeEnum\nSUPPORTED_MEMRYX = {ModelTypeEnum.yolonas, ModelTypeEnum.ssd, ModelTypeEnum.yolox, ModelTypeEnum.yologeneric}\nassert config.model.model_type in SUPPORTED_MEMRYX","typeGuard":null,"tryCatchPattern":"try:\n    dets = detector.detect_raw(tensor)\nexcept Exception as e:\n    if 'not supported for memryx' in str(e):\n        logger.error('Use a supported memryx model type')\n    raise","preventionTips":["Restrict memryx models to the documented supported types","Keep model metadata in sync with the actual architecture","Smoke-test a single inference after detector init"],"tags":["memryx","model-type","unsupported-model","post-processing"],"backgroundTag":"unsupported-model-variant","analyzedSha":"ca18b8dc131ccb3e086f13a780853b775ef13426","analyzedAt":"2026-08-27T11:28:05.618Z","schemaVersion":2},"datasetVersion":"2026-08-27T13:17:12.746Z"}