VPDL深度學習 | Designer 專案出現Object Reference not set to an Instance of an Object 錯誤訊
VisionPro 深度學習 (VPDL) 的錯誤訊息“Object Reference not set to an Instance of an Object "解決方法。
問題:
將運行時工作區匯入設計器專案的深度學習執行階段區塊時出現“Object Reference not set to an Instance of an Object " 錯誤
原因:
將VisionPro 深度學習運行時插件啟用到先前使用ViDi訓練插件的現有 Cognex Designer專案時,Designer 專案資源管理器中的深度學習設備未正確更新為所需的正確名稱LocalRuntime ,導致“物件引用未設定”將運行時工作區匯入設計器專案的DeepLearning運行時區塊時出現「物件實例」錯誤 。
解決:
將Designer Project Explorer 中的Deep Learning Device重新命名為LocalRuntime ,然後雙擊VisionProDeepLEarningRuntime 區塊再次匯入執行階段工作區 。