Google Colab:在打开Python笔记本时遇到API错误?

Google Colab提供无需运维的Jupyter笔记本托管服务,运行在Google Drive上。这种服务对我的大多数同事都有效,但在我的账户上却触发了API错误,错误信息如下:

Notebook loading errorThere was an error loading this notebook. Ensure that the file is accessible and try again.https://drive.google.com/drive/?action=locate&id=...The referrer https://...-apidata.googleusercontent.com/ does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions.Error: The referrer https://...-apidata.googleusercontent.com/ does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions.    at za.program_ (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_    at Ba (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_    at za.next_ (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_    at Da.next (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_    at b (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_

如何解决Google Colab中出现的身份验证API错误?


回答:

笔记本能在隐身窗口中加载吗?这种类型的错误常见原因是与您安装的某个扩展程序发生冲突。

Related Posts

L1-L2正则化的不同系数

我想对网络的权重同时应用L1和L2正则化。然而,我找不…

使用scikit-learn的无监督方法将列表分类成不同组别,有没有办法?

我有一系列实例,每个实例都有一份列表,代表它所遵循的不…

f1_score metric in lightgbm

我想使用自定义指标f1_score来训练一个lgb模型…

通过相关系数矩阵进行特征选择

我在测试不同的算法时,如逻辑回归、高斯朴素贝叶斯、随机…

可以将机器学习库用于流式输入和输出吗?

已关闭。此问题需要更加聚焦。目前不接受回答。 想要改进…

在TensorFlow中,queue.dequeue_up_to()方法的用途是什么?

我对这个方法感到非常困惑,特别是当我发现这个令人费解的…

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注