Category : google-cloud-automl

I am trying to follow this tutorial on Google Cloud Platform, https://github.com/GoogleCloudPlatform/ai-platform-samples/blob/master/notebooks/samples/tables/census_income_prediction/getting_started_notebook.ipynb, however, I am running into issues when I try to import the autoML module, specifically the below two lines # AutoML library. from google.cloud import automl_v1beta1 as automl import google.cloud.automl_v1beta1.proto.data_types_pb2 as data_types The first line works, but for the 2nd one, I get ..

Read more

I am trying to recognize handwriting using Google’s Cloud Platform Computer Vision API. The accuracy is disappointing. Here is what I am currently doing with a sample image and the GCP output from the Computer Vision API. The image I am trying to extract text from: The results: Texts: "6 eH " bounds: (51,10),(357,10),(357,121),(51,121) "6" ..

Read more

I’ve been using the GCP AUtoML Python library version 2.2.0 for text extraction, and usually it works perfect. However sometimes it gives me this error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception reraise(exc_type, ..

Read more

Trying to look up the status of an AutoML Tables operation python using google api client discovery/build. I can verify that the operation (data import) takes place in the eu region using client_options ‘eu-automl.googleapis.com:443’: from google.cloud import automl_v1beta1 as automl client_options = {‘api_endpoint’: ‘eu-automl.googleapis.com:443′} client = automl.TablesClient(client_options=client_options, project=project_id, region=’eu’) # operation response response = client.import_data(dataset_display_name=dataset_display_name, ..

Read more

I’m trying to run my multilabel text classification prediction model but the following error message appears: TypeError Traceback (most recent call last) <ipython-input-6-8eeb93c56258> in <module> —-> 1 predecir(‘Message’, ‘project name’ ) <ipython-input-5-c6a4555e1b30> in predecir(content, model_name) 25 def predecir(content, model_name): 26 —> 27 print(get_prediction(content, model_name)) 28 <ipython-input-5-c6a4555e1b30> i 20 21 params = {} —> 22 request ..

Read more