From 079e71ecf77283f9c0cae0d8d59dbe0907701449 Mon Sep 17 00:00:00 2001 From: liuzxtest02 <134442@163.com> Date: Mon, 13 Nov 2023 15:21:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'npu=5Fmnist=5Fexample/tra?= =?UTF-8?q?in=5Fnpu.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npu_mnist_example/train_npu.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/npu_mnist_example/train_npu.py b/npu_mnist_example/train_npu.py index 5445dba..71bd625 100644 --- a/npu_mnist_example/train_npu.py +++ b/npu_mnist_example/train_npu.py @@ -53,10 +53,7 @@ if __name__ == "__main__": args, unknown = parser.parse_known_args() data_dir = '' pretrain_dir = '' - train_dir = '' - - #回传结果到openi - upload_openi() + train_dir = '' device_num = int(os.getenv('RANK_SIZE')) #使用单卡时