![](/img/trans.png)
[英]Error "Cannot read properties of undefined (reading '0')", before was working
大約一個月前,我部署了 React 應用程序,前端在 github,后端和數據庫在 heroku(從 udemy 零到精通的“smartbrain”項目)。 到目前為止一切正常。 大約六天前,我檢查了 stil 是否正常工作,一切都很完美。 10 小時前,我收到了一個 email,其中包含后端服 ...
[英]Error "Cannot read properties of undefined (reading '0')", before was working
大約一個月前,我部署了 React 應用程序,前端在 github,后端和數據庫在 heroku(從 udemy 零到精通的“smartbrain”項目)。 到目前為止一切正常。 大約六天前,我檢查了 stil 是否正常工作,一切都很完美。 10 小時前,我收到了一個 email,其中包含后端服 ...
[英]clarifai- ValueError: too many values to unpack (expected 2)
我正在嘗試上傳食物圖片並嘗試使用格式為 JSON 的 clarifai 食物檢測 model 檢測圖片,並在我的 html 頁面中顯示結果我正在從這里獲取示例代碼 但我得到這個錯誤 並在此特定行中顯示錯誤 這個錯誤怎么解決?? 提前致謝 ...
[英]How can I get Clarifai API to respond on my request
我正在嘗試使用 Clarifai API 構建人臉檢測應用程序,但我沒有收到任何響應。 我是新來的,我已經做了幾乎所有的事情來讓它工作,但我沒有得到任何回應。 這是我的代碼 我嘗試切換我的 API 密鑰,希望它是不起作用的那個,但它仍然不起作用。 而且它也沒有拋出任何錯誤! ...
[英]Im getting this error trying to use the clarifai api, how can i fix it?
我正在使用 clarifai 人臉識別 Api 並在我的控制台上收到一條錯誤消息:“TypeError: axios.post 不是一個函數”。 有誰知道我該如何解決? 我沒有在我的代碼中使用 Axios,但我認為 API 使用它。 謝謝我嘗試再次安裝 Axios 和 clarifai,但它什么也 ...
[英]Getting Uncaught TypeError: boxes.map is not a function
不知道我做錯了什么,但是當我嘗試在我的應用程序中檢測人臉時,我收到以下錯誤消息 我究竟做錯了什么? 見下面的代碼從“反應”導入反應; 導入'./FaceRecognition.css'; ...
[英]When clicking on detect a face even witout entering url the numbers are still moving up
我目前正在使用 Clarifai API 來檢測人臉,我還創建了每當我檢測到人臉時,數字都會向上移動,請參見下圖url 圖像但是,當我點擊檢測時,即使沒有輸入任何 url,數字仍然會向上移動,如果沒有輸入任何內容,如何防止它向上移動,請參閱下面的代碼前端代碼 App.js 后端代碼 image.js ...
[英]ImportError: cannot import name 'Workflow' from 'clarifai.rest'
我正在運行一個.py文件,並出現此錯誤: ...
[英]having issues using face detection API from Clarifai API
我已經將來自 Clarifai APi 的人臉檢測 API 添加到我的項目中,但是,每當我將圖像復制到我的項目並單擊檢測時,它實際上會顯示圖像但它沒有檢測到人臉。 見下文 App.js 和 FaceRecognition.js 人臉識別.js 人臉識別.css 我究竟做錯了什么? 我嘗試從實際的 C ...
[英]Clarifai API not detecting the image URL in React.js
我正在使用 Clarifai API 人臉檢測,它無法獲取構造函數提供的 URL,而不是 Clarifai 在默認代碼中提供的變量 當我在構造函數中添加 IMAGE_URL 以從網頁上的輸入表單更新它時,我開始面臨這個問題。 如果我將 IMAGE_URL 從構造函數中移出並使其成為變量並在編輯器中 ...
[英]Invalid Clarifai API key or pair?
在 Clarifai 社區上,我創建了一個新項目並生成了一個新的 API 密鑰,其中包含 scope。 當我嘗試輸入我的密鑰作為環境變量時,我無法使用它。 我在下面發布了代碼、警告和錯誤。 試圖利用 ClarifaiAPIImageExtractor... 生成以下警告: ...
[英]Clarifai-node-js api import error while using it reactjs
和 你好。 我附上2張圖片。 導入 Clarifai-nodejs-grpc 時出現問題。 請檢查這些圖片並幫助我。 太感謝了 ...
[英]Python Clarifai program stopped working inspite of no changes made
我有以下 Python 代碼來使用 Clarifai 標記圖像。 這是一個工作代碼,在過去 6-8 個月內一直可用。 但是,在過去的幾天里,我一直收到下面提到的錯誤。 請注意,我沒有對代碼的工作版本進行任何更改以使錯誤蔓延。 錯誤: ...
[英]Find JavaScript Code Integrate Clarifai Face Detection API
參加我們將 Clarifai 人臉檢測 API 集成到我們的應用程序中的課程,該課程顯示了 Clarifai 文檔的一部分,您可以在其中復制一些 JavaScript 代碼,看起來像“請求”,它有 然后在我們的 onSubmitRequest 輸入下使用它。 關於在哪里找到這個的任何提示? 非常感 ...
[英]ReactJS - Same method, different results
我正在學習 React,在學習教程時,我想知道為什么 #1 方法沒有 console.log 任何東西,而 #2 方法卻有。 有人可以解釋這是為什么嗎? ...
[英]405 POST method not allowed (clarifai)
我正在嘗試在我的 React 應用程序上使用 clarify face detection api 但我不斷收到錯誤 POST: 405 method not allowed 我已經嘗試通過堆棧溢出這里的一些解決方案但它似乎正在使用更新版本的 clarifai api 請求方法和與我遇到的解決方案 ...
[英]React & Clarifai: Uncaught ReferenceError: process is not defined
我正在使用來自 Clarifai API 的面部檢測模型構建一個 React 應用程序。 當我import Clarifai from "clarifai" ,VS Code 會提示我以下警告: 我嘗試了建議的解決方案,但只得到錯誤: 當我運行 npm start 時,我得到一個空白屏幕,檢 ...
[英]Clarifai api referenceerror : process is not defined
我在 npm start on clarifai api [1]: https://i.stack.imgur.com/pHRNz.png上收到這樣的錯誤打開引導程序:27: 和我的 App.js 詳細信息; 我在 console.log 中呈現之前收到此錯誤。 會是什么原因呢? 編碼日快樂::) ...
[英]Is there a way to specify a connection timeout for the client?
我想這應該是通道的屬性,但通道沒有與連接配置相關的任何內容。 ...
[英]How do I set MaxConcepts for when calling postModelOutputs in latest version of Java API?
誰能指出我有關該主題的文檔或示例? 我正在使用其中一種標准模型,因此我認為應該將其設置為參數。 我嘗試將其設置如下: 但它不尊重 MaxConcepts 計數 ...
[英]Is the listModels request limited to the number of returned records by default?
對於以下調用client.listModels(ListModelsRequest.newBuilder().build()); 將返回所有模型還是僅返回某個子集? ...