开发者社区 > 大数据与机器学习 > 人工智能平台PAI > 正文

机器学习PAI中代码集管理 代码配置 这里的 git地址有啥要求吗 ?

问题1:机器学习PAI中代码集管理 代码配置 这里的 git地址有啥要求吗 客户配置的 https://codeup.aliyun.com/6462f72ec88feae8ff974178/promotion.git 这个 运行python脚本v2节点时 报错了

I0928 01:30:16.209875 11 main.go:923] "level"=0 "msg"="cloning repo" "origin"="https://codeup.aliyun.com/6462f72ec88feae8ff974178/promotion.git" "path"="/code"
E0928 01:30:16.356202 11 main.go:530] "msg"="unexpected error syncing repo, will retry" "error"="Run(git clone -v --no-checkout -b master --depth 1 https://codeup.aliyun.com/6462f72ec88feae8ff974178/promotion.git /code): exit status 128: { stdout: "", stderr: "Cloning into '/code'...\nfatal: could not read Username for 'https://codeup.aliyun.com': No such device or address\n" }"
I0928 01:30:16.356242 11 main.go:531] "level"=0 "msg"="waiting before retrying" "waitTime"=1000000000?
问题2:客户的这个链接 不是 git的链接 是 codeup 链接,这个能 把 用户名密码设置到 Git用户名和 代码源访问Token中来使用吗 image.png
image.png

展开
收起
cuicuicuic 2023-10-04 07:27:46 136 0
1 条回答
写回答
取消 提交回答
  • 回答1:查一下git配置,是否把用户名token配对了,image.png
    还有对于code部分,参考这个文档https://help.aliyun.com/zh/pai/user-guide/code-builds
    回答2:http链接是ok的,是需要在云效那边配置用户名,密码,实际效果和使用git一样,此回答整理自钉群“机器学习PAI交流群(答疑@值班)”

    2023-10-04 08:17:06
    赞同 展开评论 打赏

相关产品

  • 人工智能平台 PAI
  • 热门讨论

    热门文章

    相关电子书

    更多
    大规模机器学习在蚂蚁+阿里的应用 立即下载
    基于Spark的面向十亿级别特征的 大规模机器学习 立即下载
    基于Spark的大规模机器学习在微博的应用 立即下载