-
Notifications
You must be signed in to change notification settings - Fork 907
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translated using Weblate (Chinese (Simplified))
Currently translated at 95.0% (2018 of 2123 strings) Translation: Flower Docs/Framework Translate-URL: https://hosted.weblate.org/projects/flower-docs/framework/zh_Hans/
- Loading branch information
1 parent
f565805
commit b2ba475
Showing
1 changed file
with
32 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgstr "" | |
"Project-Id-Version: Flower main\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-11-23 18:31+0100\n" | ||
"PO-Revision-Date: 2024-02-03 13:01+0000\n" | ||
"PO-Revision-Date: 2024-02-05 10:07+0000\n" | ||
"Last-Translator: Yan Gao <[email protected]>\n" | ||
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" | ||
"flower-docs/framework/zh_Hans/>\n" | ||
|
@@ -1997,16 +1997,16 @@ msgid "" | |
"no convenience script to re-build the documentation yet, but it's pretty " | ||
"easy::" | ||
msgstr "" | ||
"Flower 的文档使用 `Sphinx <https://www.sphinx-doc.org/>`_。目前还没有方便的脚" | ||
"本来重新构建文档,但这很容易::" | ||
"Flower 的文档使用 `Sphinx <https://www.sphinx-doc.org/" | ||
">`_。目前还没有很方便的脚本来重新构建文档,不过这很容易::" | ||
|
||
#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:117 | ||
msgid "This will generate HTML documentation in ``doc/build/html``." | ||
msgstr "这将在 ``doc/build/html`` 中生成 HTML 文档。" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:2 | ||
msgid "Example: FedBN in PyTorch - From Centralized To Federated" | ||
msgstr "示例: PyTorch 中的 FedBN - 从集中式到联合式" | ||
msgstr "示例: PyTorch 中的 FedBN - 从集中式到联邦式" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:4 | ||
msgid "" | ||
|
@@ -2019,17 +2019,17 @@ msgid "" | |
"<https://flower.dev/docs/examples/pytorch-from-centralized-to-federated." | ||
"html>`_." | ||
msgstr "" | ||
"本教程将向您展示如何使用 \"Flower \"为现有的机器学习工作负载构建一个联合版" | ||
"本,并使用 \"FedBN <https://github.com/med-air/FedBN>`_\"(一种针对非 iid 数" | ||
"据设计的联合训练策略)。我们正在使用 PyTorch 在 CIFAR-10 数据集上训练一个卷积" | ||
"神经网络(带有批量归一化层)。在应用 FedBN 时,与 \"示例 \"相比只需做少量改" | ||
"动: PyTorch - 从集中到 Federated <https://flower.dev/docs/examples/pytorch-" | ||
"from-centralized-to-federated.html>`_。" | ||
"本教程将向您展示如何使用 Flower 为现有的机器学习框架构建一个联邦学习的版本," | ||
"并使用 \"FedBN <https://github.com/med-air/FedBN>`_\"(一种针对非 iid " | ||
"数据设计的联邦训练策略)。我们使用 PyTorch 在 CIFAR-10 " | ||
"数据集上训练一个卷积神经网络(带有Batch Normalization层)。在应用 FedBN 时," | ||
"只需对 `示例: PyTorch - 从集中式到联邦式 <https://flower.dev/docs/examples/" | ||
"pytorch-from-centralized-to-federated.html>`_ 做少量改动。" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:9 | ||
#: ../../source/example-pytorch-from-centralized-to-federated.rst:10 | ||
msgid "Centralized Training" | ||
msgstr "集中训练" | ||
msgstr "集中式训练" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:10 | ||
msgid "" | ||
|
@@ -2038,20 +2038,20 @@ msgid "" | |
"federated.html>`_. The only thing to do is modifying the file called :code:" | ||
"`cifar.py`, revised part is shown below:" | ||
msgstr "" | ||
"所有文件均根据 `Example: PyTorch - From Centralized To Federated <https://" | ||
"flower.dev/docs/examples/pytorch-from-centralized-to-federated.html>`_。唯一" | ||
"要做的就是修改名为 :code:`cifar.py` 的文件,修改部分如下所示:" | ||
"所有文件均根据 `示例: PyTorch -从集中式到联邦式 <https://flower.dev/docs/" | ||
"examples/pytorch-from-centralized-to-federated.html>`_。" | ||
"唯一要做的就是修改名为 :code:`cifar.py` 的文件,修改部分如下所示:" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:13 | ||
msgid "" | ||
"The model architecture defined in class Net() is added with Batch " | ||
"Normalization layers accordingly." | ||
msgstr "类 Net() 中定义的模型架构会相应添加批量规范化层。" | ||
msgstr "类 Net() 中定义的模型架构会相应添加Batch Normalization层。" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:41 | ||
#: ../../source/example-pytorch-from-centralized-to-federated.rst:157 | ||
msgid "You can now run your machine learning workload:" | ||
msgstr "现在,您可以运行机器学习工作负载:" | ||
msgstr "现在,您可以运行您的机器学习工作了:" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:47 | ||
msgid "" | ||
|
@@ -2060,14 +2060,14 @@ msgid "" | |
"learning system within FedBN, the sytstem consists of one server and two " | ||
"clients." | ||
msgstr "" | ||
"到目前为止,如果您以前使用过 PyTorch,这一切看起来应该相当熟悉。让我们进行下" | ||
"一步,使用我们所构建的内容在 FedBN 中创建一个联合学习系统,该系统由一个服务器" | ||
"和两个客户端组成。" | ||
"到目前为止,如果您以前使用过 " | ||
"PyTorch,这一切看起来应该相当熟悉。让我们进行下一步,使用我们所构建的内容在 " | ||
"FedBN 中创建一个联邦学习系统,该系统由一个服务器和两个客户端组成。" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:51 | ||
#: ../../source/example-pytorch-from-centralized-to-federated.rst:167 | ||
msgid "Federated Training" | ||
msgstr "联合培训" | ||
msgstr "联邦培训" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:53 | ||
msgid "" | ||
|
@@ -2079,11 +2079,11 @@ msgid "" | |
"flower.dev/docs/examples/pytorch-from-centralized-to-federated.html>`_. " | ||
"first." | ||
msgstr "" | ||
"如果你读过 `Example: PyTorch - From Centralized To Federated <https://" | ||
"flower.dev/docs/examples/pytorch-from-centralized-to-federated.html>`_,下面" | ||
"的部分就很容易理解了,只需要修改 :code:`get_parameters` 和 :code:" | ||
"`set_parameters` 中的 :code:`client.py` 函数。如果没有,请阅读 \"示例\": " | ||
"PyTorch - 从集中到联合 <https://flower.dev/docs/examples/pytorch-from-" | ||
"如果你读过 `示例: PyTorch - 从集中式到联邦式 <https://flower.dev/docs/" | ||
"examples/pytorch-from-centralized-to-federated." | ||
"html>`_,下面的部分就很容易理解了,只需要修改 :code:`get_parameters` 和 " | ||
":code:`set_parameters` 中的 :code:`client.py` 函数。如果没有,请阅读 `示例: " | ||
"PyTorch - 从集中式到联邦式 <https://flower.dev/docs/examples/pytorch-from-" | ||
"centralized-to-federated.html>`_。" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:56 | ||
|
@@ -2101,22 +2101,22 @@ msgid "" | |
"exclude batch normalization parameters from model parameter list when " | ||
"sending to or receiving from the server." | ||
msgstr "" | ||
"最后,我们将修改 *client* 的逻辑,修改 :code:`client.py` 中的 :code:" | ||
"`get_parameters` 和 :code:`set_parameters`,在向服务器发送或从服务器接收时," | ||
"我们将从模型参数列表中排除批量规范化参数。" | ||
"最后,我们将修改 *client* 的逻辑,修改 :code:`client.py` 中的 " | ||
":code:`get_parameters` 和 " | ||
":code:`set_parameters`,在向服务器发送或从服务器接收时," | ||
"我们将从模型参数列表中排除batch normalization层的参数。" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:85 | ||
msgid "Now, you can now open two additional terminal windows and run" | ||
msgstr "现在,您可以打开另外两个终端窗口,运行" | ||
msgstr "现在,您可以打开另外两个终端窗口并运行程序" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:91 | ||
msgid "" | ||
"in each window (make sure that the server is still running before you do so) " | ||
"and see your (previously centralized) PyTorch project run federated learning " | ||
"with FedBN strategy across two clients. Congratulations!" | ||
msgstr "" | ||
"确保服务器仍在运行),然后就能看到你的 PyTorch 项目(之前是集中式的)通过 " | ||
"FedBN 策略在两个客户端上运行联合学习。恭喜您!" | ||
msgstr "确保服务器仍在运行后,然后您就能看到您的 PyTorch 项目(之前是集中式的)通过 " | ||
"FedBN 策略在两个客户端上运行联合学习。祝贺!" | ||
|
||
#: ../../source/example-fedbn-pytorch-from-centralized-to-federated.rst:94 | ||
#: ../../source/example-jax-from-centralized-to-federated.rst:277 | ||
|