Remove unused `time_sync` import (#9026)

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

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pull/9027/head
Glenn Jocher 2022-08-18 20:26:18 +02:00 committed by GitHub
parent de6e6c0110
commit a5a47c52ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
val.py
View File

@ -42,7 +42,7 @@ from utils.general import (LOGGER, Profile, check_dataset, check_img_size, check
scale_coords, xywh2xyxy, xyxy2xywh)
from utils.metrics import ConfusionMatrix, ap_per_class, box_iou
from utils.plots import output_to_target, plot_images, plot_val_study
from utils.torch_utils import select_device, smart_inference_mode, time_sync
from utils.torch_utils import select_device, smart_inference_mode
def save_one_txt(predn, save_conf, shape, file):