Browse Source

更新 'npu_mnist_example/train_npu.py'

liuzx-patch-1
liuzxtest02 2 years ago
parent
commit
c284f4b56d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      npu_mnist_example/train_npu.py

+ 1
- 0
npu_mnist_example/train_npu.py View File

@@ -17,6 +17,7 @@
""" """


import os import os
os.system("pip cache purge")
os.system("pip install {}".format(os.getenv("OPENI_SDK_PATH"))) os.system("pip install {}".format(os.getenv("OPENI_SDK_PATH")))
import argparse import argparse
from config import mnist_cfg as cfg from config import mnist_cfg as cfg


Loading…
Cancel
Save