menu

Building a Document AI Pipeline with Google Cloud

Go to Lab

57 Reviews

Something was happened on this lab, there is an error on the queries section

Cristian Orlando R. · Reviewed 5 days ago

getting error while completing step "INFO:pdf2png:Enter a different dataset id in the config file or delete the existing 'patent_demo' dataset." I deleted dataset as well as changing name to another dataset in config.yaml file but still same error and not able to load data to bigquery

Anil P. · Reviewed 7 days ago

iNSTRUCTIONS ARE NOT CLEAR

Anurag B. · Reviewed 12 days ago

Arooj A. · Reviewed 17 days ago

Kazuhiro H. · Reviewed 24 days ago

Bhaskar C. · Reviewed 29 days ago

Unable to finish the lab, errors:INFO:automl_image:espacenet_en67.png Traceback (most recent call last): File "run_predict.py", line 44, in <module> id_token=id_token) File "/home/student_03_c25c83c614e7/patents-example/automl_image.py", line 166, in predict id_token File "/home/student_03_c25c83c614e7/patents-example/automl_image.py", line 76, in classify_write response_data = response.json() File "/home/student_03_c25c83c614e7/patents-example/patents-demo-env/lib/python3.7/site-packages/requests/models.py", line 900, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/usr/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Ian Y. · Reviewed about 1 month ago

Mohamed Rabik A. · Reviewed about 2 months ago

I got stuck here. Save the file. Run the following command to create and download a service account key with the necessary permissions to be used by the training and prediction pipelines: chmod +x get_service_acct.sh ./get_service_acct.sh config.yaml

Daniel Å. · Reviewed 2 months ago

Lab instruction is not quite clear.

Chris F. · Reviewed 2 months ago

I know time is an issue, but a more thorough walkthrough of training would be nice. Also, issues w/ run_predict.py I couldn't resolve w/ ~5 minutes troubleshooting (mostly via https://stackoverflow.com/questions/55606725/how-to-install-google-cloud-automl-v1beta1-for-python-using-anaconda and https://groups.google.com/g/cloud-vision-discuss/c/EkL5vTYO7UU, didn't try upgrading pip3). --- python run_predict.py Traceback (most recent call last): File "run_predict.py", line 19, in <module> import automl_objdetect File "/home/student_03_5b4c4e956f9a/patents-example/automl_objdetect.py", line 23, in <module> from google.cloud.automl_v1beta1.proto import service_pb2 ImportError: cannot import name 'service_pb2' from 'google.cloud.automl_v1beta1.proto' (unknown location)

Michael R. · Reviewed 2 months ago

dwajdnajj d. · Reviewed 3 months ago

jdiwann d. · Reviewed 3 months ago

idwajdiawjl d. · Reviewed 3 months ago

Fail to insert_row with the bigquery_client INFO:automl_objdetect:Figure detected in file. Traceback (most recent call last): File "run_predict.py", line 54, in <module> id_token=config["pipeline_project"]["id_token"]) File "/home/student_01_f1beb886c6b8/patents-example/automl_objdetect.py", line 174, in predict id_token File "/home/student_01_f1beb886c6b8/patents-example/automl_objdetect.py", line 101, in detect_object load_job = bq_client.insert_rows(table, rows_to_insert) File "/home/student_01_f1beb886c6b8/patents-example/patents-demo-env/lib/python3.7/site-packages/google/cloud/bigquery/client.py ", line 1972, in insert_rows return self.insert_rows_json(table, json_rows, **kwargs)

Chris F. · Reviewed 3 months ago

Unable to run the python script "python run_predict.py". It throws error on unbale to find module 'google.cloud.automl_v1beta1.proto'. I used 7 credits but of no use.

Alok G. · Reviewed 3 months ago

not working

Cabral N. · Reviewed 4 months ago

Darpan D. · Reviewed 4 months ago

On step 'python run_predict.py', I get the error "Traceback (most recent call last): File "run_predict.py", line 19, in <module> import automl_objdetect File "/home/student_01_eb6bd7050d01/patents-example/automl_objdetect.py", line 23, in <module> from google.cloud.automl_v1beta1.proto import service_pb2 ModuleNotFoundError: No module named 'google.cloud.automl_v1beta1.proto'" So I'm not be able to continue with the lab

Omar L. · Reviewed 4 months ago

Anh L. · Reviewed 4 months ago

Jaru N. · Reviewed 4 months ago

Manuel R. · Reviewed 4 months ago

Anh L. · Reviewed 4 months ago

Omar L. · Reviewed 4 months ago

The graphical text editor was not working, loading in a infinite loop and causing me a lot of problèm

Maxime M. · Reviewed 4 months ago