提交 66676eb0 authored 作者: Glenn Jocher's avatar Glenn Jocher

init_torch_seeds >> init_seeds bug fix

上级 883924d9
...@@ -26,9 +26,9 @@ from utils.datasets import create_dataloader ...@@ -26,9 +26,9 @@ from utils.datasets import create_dataloader
from utils.general import ( from utils.general import (
torch_distributed_zero_first, labels_to_class_weights, plot_labels, check_anchors, labels_to_image_weights, 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, 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.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__) logger = logging.getLogger(__name__)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论