我用docker-compose运行mlrun。但是当我完成样本训练时,我无法在管理页面上看到结果图。我得到500错误和细节喜欢:
{
"data": {
"detail": "AttributeError(\"'K8sHelper' object has no attribute 'v1api'\")"
},
"status": 500,
"statusText": "Internal Server Error",
"headers": {
"connection": "keep-alive",
"content-length": "76",
"content-type": "application/json",
"date": "Fri, 07 Apr 2023 09:45:51 GMT",
"server": "nginx/1.21.6"
},
"config": {
"url": "projects/quick-tutorial-root/files",
"method": "get",
"headers": {
"Accept": "application/json, text/plain, */*"
},
"params": {
"path": "/auto-trainer-train/0/confusion-matrix.html"
},
"baseURL": "/mlrun/api/v1",
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
}
},
"request": {}
}
我找不到这个问题的任何信息,请帮助我,谢谢!
1条答案
按热度按时间zour9fqk1#
是的,我自己找到了解决这个问题的方法。此问题是由于k8s配置冲突。因此,我可以更改mlrun-api容器中的代码,然后提交一个新映像。现在我在mlrun/API/api/endpoints/www. example中的66行代码之后添加 www.example.com 。显示在UI上正常。