mirror of
https://github.com/ultralytics/yolov5.git
synced 2025-06-03 14:49:29 +08:00
init_torch_seeds >> init_seeds bug fix
This commit is contained in:
parent
883924d9dc
commit
66676eb039
4
train.py
4
train.py
@ -26,9 +26,9 @@ from utils.datasets import create_dataloader
|
||||
from utils.general import (
|
||||
torch_distributed_zero_first, labels_to_class_weights, plot_labels, check_anchors, labels_to_image_weights,
|
||||
compute_loss, plot_images, fitness, strip_optimizer, plot_results, get_latest_run, check_dataset, check_file,
|
||||
check_git_status, check_img_size, increment_dir, print_mutation, plot_evolution, set_logging)
|
||||
check_git_status, check_img_size, increment_dir, print_mutation, plot_evolution, set_logging, init_seeds)
|
||||
from utils.google_utils import attempt_download
|
||||
from utils.torch_utils import init_seeds, ModelEMA, select_device, intersect_dicts
|
||||
from utils.torch_utils import ModelEMA, select_device, intersect_dicts
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user