mdf_aipname

This commit is contained in:
huodagu 2022-03-29 13:19:46 +08:00
parent 80a4b9242e
commit 333f9589bd
3 changed files with 15 additions and 17 deletions

View File

@ -40,5 +40,3 @@
- 如果线下训练,建议为每次训练设置 `BATCH_JOB_ID` 环境变量。
- 分布式训练中假如使用多个节点服务器则必须使用每个节点全部的8张卡。如果只有一个节点服务器则没有这样的限制。
.. include:: mindspore.dataset.sync_wait_dataset.rst

View File

@ -1,14 +1,14 @@
mindspore.dataset.sync_wait_dataset
===================================
.. py:function:: mindspore.dataset.sync_wait_dataset(rank_id, rank_size, current_epoch)
等待所有的卡需要的数据集文件下载完成。
.. note:: 需要配合 `mindspore.dataset.OBSMindDataset` 使用建议在每次epoch开始前调用。
**参数:**
- **rank_id** (int) - 当前卡的逻辑序号。
- **rank_size** (int) - 卡的数量。
- **current_epoch** (int) - 训练时当前的epoch数。
mindspore.dataset.sync_wait_for_dataset
=======================================
.. py:function:: mindspore.dataset.sync_wait_for_dataset(rank_id, rank_size, current_epoch)
等待所有的卡需要的数据集文件下载完成。
.. note:: 需要配合 `mindspore.dataset.OBSMindDataset` 使用建议在每次epoch开始前调用。
**参数:**
- **rank_id** (int) - 当前卡的逻辑序号。
- **rank_size** (int) - 卡的数量。
- **current_epoch** (int) - 训练时当前的epoch数。

View File

@ -170,6 +170,6 @@ mindspore.dataset
mindspore.dataset.deserialize
mindspore.dataset.serialize
mindspore.dataset.show
mindspore.dataset.sync_wait_dataset
mindspore.dataset.sync_wait_for_dataset
mindspore.dataset.utils.imshow_det_bbox
mindspore.dataset.zip