You need to sign in to do that
Don't have an account?
sean*harrison
Forbidden - Einstein Vision
Getting familiar with Einstein Vision by doing the tutorial at https://metamind.readme.io/v1/docs
Everything fine until I try to predict against the demo image and I just get:
Anyone have insight on the specific meaning of this message?
Everything fine until I try to predict against the demo image and I just get:
{"message":"Forbidden!"}That's no fun. I've checked & refreshed my token; the modelid is correct; I can access the sample image...
Anyone have insight on the specific meaning of this message?
curl -X POST -H "Authorization: Bearer a48a051c9d1110099999999914b42042df96f" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "sampleLocation=http://metamind.io/images/546212389.jpg" -F "modelId=1101631" https://api.metamind.io/v1/vision/predict
There are 2 steps that needs to be done before calling prediction API
1. Upload the dataset and get the Dataset ID: https://metamind.readme.io/docs/create-a-dataset-zip-sync
2. Train the engine which in turn returns Model ID: https://metamind.readme.io/docs/train-a-dataset
The ModelID returned in step 2 can then be used for prediction API.