From 7a39edd289ffe0d0754da1b1c5fe61ecf0e37600 Mon Sep 17 00:00:00 2001 From: Arutunyan-Dmitry Date: Sun, 19 Nov 2023 21:17:56 +0400 Subject: [PATCH] arutunyan_dmitry_lab_7 is ready --- arutunyan_dmitry_lab_7/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/arutunyan_dmitry_lab_7/main.py b/arutunyan_dmitry_lab_7/main.py index e6497e7..af314e1 100644 --- a/arutunyan_dmitry_lab_7/main.py +++ b/arutunyan_dmitry_lab_7/main.py @@ -69,11 +69,9 @@ if __name__ == '__main__': # Создание распределенной стратегии strategy = tf.distribute.MultiWorkerMirroredStrategy() - # Распределение модели на устройства with strategy.scope(): parallel_model = model - # Обучение модели на GPU и CPU parallel_model.fit(X, y, epochs=100, batch_size=256, callbacks=desired_callbacks)