🐍 Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
[docs] update CN docs (#1479)
Jian Shi0655380d38b8
diff --git a/README_zh-CN.md b/README_zh-CN.mdindex 82b901d4e..b179505d0 100644--- a/README_zh-CN.md+++ b/README_zh-CN.md@@ -25,12 +25,14 @@[](https://join.slack.com/t/kornia/shared_invite/zt-csobk21g-CnydWe5fmvkcktIeRFGCEQ)[](https://twitter.com/kornia_foss)-[](https://github.com/kornia/kornia/actions/workflows/tests_cpu_versions.yml)+[](https://github.com/kornia/kornia/actions/workflows/tests_cpu.yml)[](https://github.com/kornia/kornia/actions/workflows/tests_cuda.yml)[](https://codecov.io/gh/kornia/kornia)[](https://kornia.readthedocs.io/en/latest/?badge=latest)[](https://results.pre-commit.ci/latest/github/kornia/kornia/master)+<a href="https://www.producthunt.com/posts/kornia?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-kornia" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=306439&theme=light" alt="Kornia - Computer vision library for deep learning | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>+</p></div>@@ -72,6 +74,7 @@```bashpip install kornia+ pip install kornia[x] # 安装训练相关API```<details>@@ -108,6 +111,9 @@</a></div>+:triangular_flag_on_post: **Updates**+- :white_check_mark: 现已通过 [Gradio](https://github.com/gradio-app/gradio) 将Kornia集成进 [Huggingface Spaces](https://huggingface.co/spaces). 可以尝试 [Gradio 在线Demo](https://huggingface.co/spaces/akhaliq/Kornia-LoFTR).+## 引用如果您在与研究相关的文档中使用 Kornia,您可以引用我们的论文。更多信息可以在 [CITATION](https://github.com/kornia/kornia/blob/master/CITATION.md) 看到。@@ -135,8 +141,8 @@扫描下方的二维码可关注 Kornia 的官方交流QQ群(679683070)以及Kornia知乎账号。<div align="center">- <img src="https://github.com/kornia/kornia/raw/master/docs/source/_static/img/cn_community_qq.jpg" width="45%">- <img src="https://github.com/kornia/kornia/raw/master/docs/source/_static/img/cn_community_zhihu.jpg" width="45%">+ <img src="https://github.com/kornia/kornia/raw/master/docs/source/_static/img/cn_community_qq.jpg" height="700px">+ <img src="https://github.com/kornia/kornia/raw/master/docs/source/_static/img/cn_community_zhihu.jpg" height="700px"></div>我们会在 Kornia 交流社区为大家diff --git a/docs/source/community/chinese.rst b/docs/source/community/chinese.rstindex e5640a1a4..cf63cff7e 100644--- a/docs/source/community/chinese.rst+++ b/docs/source/community/chinese.rst@@ -4,5 +4,10 @@ Kornia 社区欢迎加入 Kornia 社区!扫描下方的二维码可关注 Kornia 团队的 `官方交流 QQ 群 <https://jq.qq.com/?_wv=1027&k=y8iqu7Do>`_... image:: https://github.com/kornia/kornia/raw/master/docs/source/_static/img/cn_community_qq.jpg- :width: 300+ :height: 700:alt: QQ group+++.. image:: https://github.com/kornia/kornia/raw/master/docs/source/_static/img/cn_community_zhihu.jpg+ :height: 700+ :alt: Zhihudiff --git a/kornia/augmentation/augmentation.py b/kornia/augmentation/augmentation.pyindex 2055971eb..6deb402d3 100644--- a/kornia/augmentation/augmentation.py+++ b/kornia/augmentation/augmentation.py@@ -1,4 +1,5 @@from typing import Any, cast, Dict, List, Optional, Tuple, Union+import torchfrom torch.nn.functional import pad