Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

映射文档 No. 2 #5702

Merged
merged 3 commits into from
Mar 21, 2023
Merged

映射文档 No. 2 #5702

merged 3 commits into from
Mar 21, 2023

Conversation

DrRyanHuang
Copy link
Member

@paddle-bot
Copy link

paddle-bot bot commented Mar 11, 2023

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5702.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

Copy link
Collaborator

@huajiao-hjyp huajiao-hjyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhwesky2010
Copy link
Collaborator

echo =======================================================================
2023-03-15 13:02:11 =======================================================================
2023-03-15 13:02:11 + echo 'Code style check failed! Please check the error info above carefully.'
2023-03-15 13:02:11 Code style check failed! Please check the error info above carefully.
2023-03-15 13:02:11 + echo =======================================================================
2023-03-15 13:02:11 =======================================================================
2023-03-15 13:02:11 + exit 1
2023-03-15 13:02:11 + abort
2023-03-15 13:02:11 + echo 'Your change doesn'''t follow PaddlePaddle'''s code style.'
2023-03-15 13:02:11 Your change doesn't follow PaddlePaddle's code style.
2023-03-15 13:02:11 + echo 'Please use pre-commit to check what is wrong.'
2023-03-15 13:02:11 Please use pre-commit to check what is wrong.

@zhwesky2010
Copy link
Collaborator

zhwesky2010 commented Mar 15, 2023

需要修一下CI。参照官网安装pre-commit,进行格式检查~ https://www.paddlepaddle.org.cn/documentation/docs/zh/dev_guides/code_contributing_path_cn.html

@DrRyanHuang
Copy link
Member Author

DrRyanHuang commented Mar 15, 2023

@zhouwei25 我之前本地pre-commit检查过了,CI rerun了好几次,每次都是

2023-03-15 13:08:46 Check the log at /root/.cache/pre-commit/pre-commit.log
2023-03-15 13:08:46 + git diff
2023-03-15 13:08:47 + commit_files=off
2023-03-15 13:08:47 + echo 'Please check the code style of docs/guides/model_convert/convert_from_pytorch/api_difference/functional/torch.nn.functional.grid_sample.md'
2023-03-15 13:08:47 Please check the code style of docs/guides/model_convert/convert_from_pytorch/api_difference/functional/torch.nn.functional.grid_sample.md
2023-03-15 13:08:47 + for file_name in `git diff --numstat upstream/$BRANCH| awk '{print $NF}'`
2023-03-15 13:08:47 + pre-commit run --files ../docs/guides/model_convert/convert_from_pytorch/api_difference/functional/torch.nn.functional.nll_loss.md
2023-03-15 13:08:47 [INFO] Initializing environment for https://github.com/psf/black.git.
2023-03-15 13:08:47 An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/git', 'fetch', 'origin', '--tags')
2023-03-15 13:08:47 return code: 128
2023-03-15 13:08:47 expected return code: 0
2023-03-15 13:08:47 stdout: (none)
2023-03-15 13:08:47 stderr:
2023-03-15 13:08:47     fatal: unable to access 'https://github.com/psf/black.git/': Received HTTP code 503 from proxy after CONNECT

看样子是CI服务器代理有问题? 都是 fatal: unable to access 'https://github.com/psf/black.git/': Received HTTP code 503 from proxy after CONNECT

@DrRyanHuang
Copy link
Member Author

@Tomoko-hjf
image
打扰了,帮忙rerun一下,应该是昨天代理有些问题

@DrRyanHuang DrRyanHuang requested review from zhwesky2010 and removed request for huajiao-hjyp March 20, 2023 10:31
@luotao1 luotao1 merged commit 3f9af5f into PaddlePaddle:develop Mar 21, 2023
@DrRyanHuang DrRyanHuang deleted the dev22 branch March 21, 2023 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants