提交 2e277faa 编写于 作者: O ouyangyu

refine

上级 39cd8f1c
......@@ -25,7 +25,7 @@ args = parser.parse_args()
configs.print_args(args)
import oneflow.compatible.single_client as flow
import import oneflow.typing as tp
import oneflow.compatible.single_client.typing as tp
from imagenet1000_clsidx_to_labels import clsidx_2_labels
import resnet_model
......
......@@ -19,7 +19,7 @@ from typing import Callable, Text
import numpy as np
import oneflow.compatible.single_client as flow
import import oneflow.typing as tp
import oneflow.compatible.single_client.typing as tp
import onnx
import onnxruntime as ort
......
......@@ -104,7 +104,7 @@ import glob
import numpy as np
import six
import cv2
import import oneflow.core.record.record_pb2 as of_record
import oneflow.core.record.record_pb2 as of_record
import struct
"""
......
......@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
import oneflow.compatible.single_client as flow
import oneflow.compatible.single_client.core.operator.op_conf_pb2 as op_conf_util
import oneflow.core.operator.op_conf_pb2 as op_conf_util
import math
class BertBackbone(object):
......
......@@ -15,7 +15,7 @@ limitations under the License.
"""
import oneflow.compatible.single_client as flow
import bert as bert_util
import oneflow.compatible.single_client.core.operator.op_conf_pb2 as op_conf_util
import oneflow.core.operator.op_conf_pb2 as op_conf_util
def PreTrain(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册