Hi,
I am doing a learning certification for GCP machine learning engineer and I am unable to complete one of the exercises. The details are as follows
Exercise
Create a JSON request file for submitting the base64 encoded form for processing:
Note
Replace my-bucket-name with the name of your storage bucket.
{ "requests": [ { "image": { "source": { "gcsImageUri": "gs://my-bucket-name/donuts.png" } }, "features": [ { "type": "LABEL_DETECTION", "maxResults": 10 } ] } ] }
I replace my project id (name of my bucket )for the "my-bucket-name"
I get the following response in Shell
bash: requests:: command not found
-bash: image:: command not found
-bash: source:: command not found
-bash: gcsImageUri:: command not found
-bash: },: command not found
-bash: features:: command not found
-bash: type:: command not found
-bash: maxResults:: command not found
-bash: ]: command not found
-bash: ]: command not found
-bash: syntax error near unexpected token `}'