Unverified 提交 999482b4 authored 作者: Glenn Jocher's avatar Glenn Jocher 提交者: GitHub

import re (#9535)

* import re Signed-off-by: 's avatarGlenn Jocher <glenn.jocher@ultralytics.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ciSigned-off-by: 's avatarGlenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: 's avatarpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
上级 6f028476
...@@ -48,6 +48,7 @@ import argparse ...@@ -48,6 +48,7 @@ import argparse
import json import json
import os import os
import platform import platform
import re
import subprocess import subprocess
import sys import sys
import time import time
...@@ -427,8 +428,6 @@ def export_edgetpu(file, prefix=colorstr('Edge TPU:')): ...@@ -427,8 +428,6 @@ def export_edgetpu(file, prefix=colorstr('Edge TPU:')):
def export_tfjs(file, prefix=colorstr('TensorFlow.js:')): def export_tfjs(file, prefix=colorstr('TensorFlow.js:')):
# YOLOv5 TensorFlow.js export # YOLOv5 TensorFlow.js export
check_requirements('tensorflowjs') check_requirements('tensorflowjs')
import re
import tensorflowjs as tfjs import tensorflowjs as tfjs
LOGGER.info(f'\n{prefix} starting export with tensorflowjs {tfjs.__version__}...') LOGGER.info(f'\n{prefix} starting export with tensorflowjs {tfjs.__version__}...')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论