* import re

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Glenn Jocherandpre-commit-ci[bot] authored and GitHub committed 2022-09-21 23:08:52 +02:00
1 parent 6f0284763b
commit 999482b451
1 file changed
+1 -2
+1 -2
View File
@@ -48,6 +48,7 @@ import argparse
import json
import os
import platform
import re
import subprocess
import sys
import time
@@ -427,8 +428,6 @@ def export_edgetpu(file, prefix=colorstr('Edge TPU:')):
def export_tfjs(file, prefix=colorstr('TensorFlow.js:')):
# YOLOv5 TensorFlow.js export
check_requirements('tensorflowjs')
import re
import tensorflowjs as tfjs
LOGGER.info(f'\n{prefix} starting export with tensorflowjs {tfjs.__version__}...')