Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
redcican opened this issue Oct 19, 2021 · 2 comments

Comments

@redcican
Copy link

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?

@ksalama
Copy link
Collaborator

ksalama commented Oct 22, 2021

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

@redcican
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants