无法将Google AutoML连接到kaggle内核 [英] Cannot connect Google AutoML to kaggle kernel

查看:111
本文介绍了无法将Google AutoML连接到kaggle内核的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过kaggle笔记本电脑连接到Google云服务.但是我在Kaggle笔记本电脑上出现属性错误.

I am trying to connect to google cloud services via kaggle notebook. However I am getting a attribute error on Kaggle notebook.

请在下面找到代码;

PROJECT_ID = 'abc'
from google.cloud import automl_v1beta1 as automl
automl_client = automl.AutoMlClient()

错误;

AttributeError: module 'google.cloud.automl_v1beta1' has no attribute 'AutoMlClient'

任何人都可以在这方面帮助我

Would anyone be able to help me regarding this

感谢&最好的问候

Thanks & Best Regards

迈克尔

推荐答案

我尝试了您的代码,但没有收到错误.我使用了与您相同的代码:

I tried your code but I did not get errors. I used the same code as you:

from google.cloud import automl_v1beta1 as automl


# Create an AutoML client
client = automl.AutoMlClient()

您已经安装了库吗?

pip install google-cloud-automl

这篇关于无法将Google AutoML连接到kaggle内核的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆