Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google cloud platform 谷歌云笔记本在推理时给出错误524_Google Cloud Platform_Google Ai Platform_Google Notebook - Fatal编程技术网

Google cloud platform 谷歌云笔记本在推理时给出错误524

Google cloud platform 谷歌云笔记本在推理时给出错误524,google-cloud-platform,google-ai-platform,google-notebook,Google Cloud Platform,Google Ai Platform,Google Notebook,在笔记本中进行推理时出现弹出错误。 给出错误的代码 preds=[] spans=list(test['span_text']) for i in range(700,len(spans)): #print(i) try: preds.append(get_prediction(str(spans[i] ))) except: preds.append([]) 弹出错误 File Save Error for FineTuningBERT

在笔记本中进行推理时出现弹出错误。 给出错误的代码

preds=[]
spans=list(test['span_text'])
for i in range(700,len(spans)):
    #print(i)
    try:
        preds.append(get_prediction(str(spans[i] )))
    except:
        preds.append([])
弹出错误

File Save Error for FineTuningBERT_Transformers.ipynb
<!DOCTYPE html> <html lang=en> <meta charset=utf-8> <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width"> <title>Error 524 ()!!1</title> <style> *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/logos/errorpage/error_logo-150x54.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px} </style> <a href=//www.google.com/><span id=logo aria-label=Google></span></a> <p><b>524.</b> <ins>That’s an error.</ins> <p> <ins>That’s all we know.</ins>
FineTunningBert_Transformers.ipynb的文件保存错误 错误524()!!1*{margin:0;padding:0}html,代码{font:15px/22px arial,sans serif}html{background:fff;color:222;padding:15px}body{margin:7%auto 0;最大宽度:390px;最小高度:180px;padding:30px 0 15px}>body{background background:url(//www.google.com/images/errors/robot.png)100%5px不重复;padding右侧:205px}p{padding右边距:22px}隐藏溢出:11px}{颜色:{777;文本装饰:无}媒体屏幕和(最大宽度:772px){正文{背景:无;页边顶部:0;最大宽度:无;填充右侧:0}}}徽标{背景:url(//www.google.com/images/logos/errorpage/error_logo-150x54.png)无重复;页边左侧:5px}仅媒体屏幕和(最小分辨率:192dpi){徽标背景:url{(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png)无重复0%0%/100%100%;-moz边框图像:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png)0}}@media纯屏幕和(-webkit最小设备像素比:2){logo{背景:url(//www.google.com/images logo/errorpage/error_logo-150x54-2x.png)不重复;-webkit背景大小:100%100%}#徽标{显示:内联块;高度:54px;宽度:150px}524。这是一个错误。这就是我们所知道的。
您是否尝试过跟进故障排除中的建议?@Nick_Kh没有尝试过指南,但当我没有在方法get_prediction()中返回张量时解决了这个问题。不知道为什么?你能分享更多关于你正在使用的谷歌云机器学习服务的信息,以及使用
get\u prediction()
方法的python包吗?