我正在使用MLOps模板做一些教程,创建一个使用CodePipeline与第三方Git存储库一起构建、培训和部署的Sagemaker。以下是文档:https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-projects-walkthrough-3rdgit.html#sagemaker-proejcts-walkthrough-create-3rdgit。
我已经在CodeCommit设置中创建了连接,并选择了在Github中创建的两个存储库,一个用于模型构建,另一个用于模型部署。在创建项目时,我将来自github的urls,即repos的名称(在我的例子中,是组织/模型构建-repo),并使用连接的arn。但是,在构建过程中,在种子代码中,我会得到以下错误:
[GitRepositorySeedCodeBootStrapper.main()] ERROR GitRepositorySeedCodeBootStrapper - Seedcode checkin failed: Invalid remote: origin我还得到以下例外:
Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: https://codestar-connections.eu-west-1.amazonaws.com/git-http/XXXXXXXXXXX/eu-west-1/ff5bf7e3-bee9-4dad-a63d-0374c4a96297/ORGANIZATION/sagemaker-tutorial-3-modelbuild.git: https://codestar-connections.eu-west-1.amazonaws.com/git-http/XXXXXXXXXXX/eu-west-1/ff5bf7e3-bee9-4dad-a63d-0374c4a96297/ORGANIZATION/sagemaker-tutorial-3-modelbuild.git/info/refs?service=git-upload-pack not found: Not Found这些错误来自git-种子代码库的构建日志。
我认为这与试图用模型构建代码填充存储库有关。有人知道什么是错误吗?
我见过类似的问题,涉及政策和需要,但我想我有正确的问题。
发布于 2022-11-08 17:50:23
看起来存储库要么不存在,要么您没有传递正确的名称。
您可以遵循本博客中的指导原则- https://aws.amazon.com/blogs/machine-learning/create-amazon-sagemaker-projects-using-third-party-source-control-and-jenkins/。
https://stackoverflow.com/questions/74138820
复制相似问题