-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got Uncaught Exception when predicting image using own model & workflow #21
Comments
It seems you have not installed gRPC for PHP, which is required to successfully use the Clarifai gRPC PHP client. |
It seems the issue is with your installation of Google Protobuf and gRPC. You can check whether there is a compatibility issue as listed here: https://github.com/grpc/grpc/blob/v1.50.0/src/php/README.md#protoc-compiler. You may also send your code so that I try to reproduce the issue from my end. |
@Alfrick maybe that's the issue, i was not finding the dependencies of installing google protobuf. after install, i'll let you know. |
Also check how you set your $userDataObject. You can check this sample (under PHP): https://docs.clarifai.com/api-guide/predict/images#predict-via-url |
Hi, I was trying to create an apps that predict face sentiment of human, i was using a pre-trained models on community and use the model within my app. however, i got an error like this :
this happen when i'm init instance of
PostModelOutputsRequest
with"user_app_id"
args, i was trying to use object or array to define myuser_app_id
, it got same error, But this was going fine when i'm using manual REST API app like postman / hoppscotch, it got 200 ok, only on this library i got issue within my credentials.thankyou! ✌🏻
The text was updated successfully, but these errors were encountered: