We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Perform multi-GPU training for a single mini-batch.
对单个小批量进行多 GPU 训练。
In order to implement data parallelism in a multi-GPU training scenario from scratch, we first import the required packages or modules.
为了从零开始实现多GPU训练中的数据并行,让我们先导入需要的包或模块。
Using a Multi-GPU Training Model
使用多 GPU 训练模型
Multi-GPU Training on a Single Mini-batch
单个小批量上的多 GPU 训练
We train the ResNet-18 model described in "ResNet" section on the CIFAR-10 data set. We will also apply the methods described in the "Gluon Implementation in Multi-GPU Computation" section, and use a multi-GPU training model.
Now, we can define the training function. Here the training function is slightly different from the one used in the previous chapter. For example, here, we need to copy all the model parameters to multiple GPUs based on data parallelism and perform multi-GPU training on a single mini-batch for each iteration.
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.