mlops-with-vertex-ai icon indicating copy to clipboard operation
mlops-with-vertex-ai copied to clipboard

google.api_core.exceptions.PermissionDenied: 403 Permission denied on resource project {PROJECT}.

Open redcican opened this issue 3 years ago • 2 comments

hi, i followed your tutorials and everything was fine until Notebook 6, When I tried to Run create endpoint section.

!python build/utils.py \ --mode=create-endpoint\ --project={PROJECT}\ --region=us-central1\ --endpoint-display-name={ENDPOINT_DISPLAY_NAME} I had this error: google.api_core.exceptions.PermissionDenied: 403 Permission denied on resource project {PROJECT}. Any suggestions?

redcican avatar Oct 19 '21 13:10 redcican

Could you make sure to set PROJECT to your GCP project Id?

ksalama avatar Oct 22 '21 09:10 ksalama

Could you make sure to set PROJECT to your GCP project Id?

I am sure that is my project id, but it won't work. Can I ask you another question? If I have a multi-class classification problem, say the label is already integer like "1,2,3,4,5,6,7", should I one-hot them firstly? Or I just need to use "softmax" function? If i need to one-hot them, where should I do it?

redcican avatar Oct 22 '21 19:10 redcican