Google Cloud - "ResourceNotFoundException"
See original GitHub issueI followed the instructions here for creating a docker repo with my model for Google Cloud deployment:
When I run a health check, I get
curl localhost:7080/ping
{
"status": "Healthy"
}
When I try:
curl -s -X POST \
-H "Content-Type: application/json; charset=utf-8" \
-d @./predictor/instances.json \
http://localhost:7080/predictions/conv1dppm/
I get the error:
{
"code": 404,
"type": "ResourceNotFoundException",
"message": "Requested resource is not found, please refer to API document."
}
So I should refer to the API. Except when I do that, nothing works. I have tried:
curl localhost:7080/models
curl localhost:7081/models
curl localhost:7080/models/all
curl localhost:7080/conv1dppm
etc.
Everything gives back that same error or something similar. Has anyone had any success deploying a model on Google Cloud? If not there, where? Why is the model “healthy” when it clearly doesn’t look healthy?
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (3 by maintainers)
Top Results From Across the Web
Exception SpannerException.ResourceNotFoundException ...
Open source tool to provision Google Cloud resources with declarative configuration files. ... Game server management service running on Google ...
Read more >Getting ResourceNotFoundException on few message p...
we validated the deployments and tree using below api commands but we did not find any unusual. MPhost:8083/v1/classification/tree. MShost:8080/ ...
Read more >com.google.gdata.util.ResourceNotFoundException
It seems to me that the resource you are trying to download according to the URL you are building is no longer there....
Read more >ResourceNotFoundException is raised when querying ACM ...
A ResourceNotFoundException may be raised when a ansible module invokes the get_certificates function defined in module_utils/acm.py.
Read more >GCDS error messages - Google Workspace Admin Help
You might encounter the following error messages when using Google Cloud ... ResourceNotFoundException: The sync key attribute specified in the Shared ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Figured out the problem. Every def from the preprocess down somehow got untabbed, so wasn’t getting called within the class. Well, I feel like a fool now.
Regarding the non-aggregate batching, I was able to get it working by modifying the custom preprocess such that it dynamically take batches in single requests. The data comes in as dims (batch_size, data_dim1, data_dim2) and then is treated accordingly such that batch_size receives -1 in all tensor views.