|
43 | 43 | from utils.downloads import attempt_download |
44 | 44 | from utils.general import (LOGGER, check_dataset, check_file, check_git_status, check_img_size, check_requirements, |
45 | 45 | check_suffix, check_yaml, colorstr, get_latest_run, increment_path, init_seeds, |
46 | | - labels_to_class_weights, labels_to_image_weights, methods, one_cycle, print_args, |
47 | | - print_mutation, strip_optimizer) |
| 46 | + intersect_dicts, labels_to_class_weights, labels_to_image_weights, methods, one_cycle, |
| 47 | + print_args, print_mutation, strip_optimizer) |
48 | 48 | from utils.loggers import Loggers |
49 | 49 | from utils.loggers.wandb.wandb_utils import check_wandb_resume |
50 | 50 | from utils.loss import ComputeLoss |
51 | 51 | from utils.metrics import fitness |
52 | 52 | from utils.plots import plot_evolve, plot_labels |
53 | | -from utils.torch_utils import (EarlyStopping, ModelEMA, de_parallel, intersect_dicts, select_device, |
54 | | - torch_distributed_zero_first) |
| 53 | +from utils.torch_utils import EarlyStopping, ModelEMA, de_parallel, select_device, torch_distributed_zero_first |
55 | 54 |
|
56 | 55 | LOCAL_RANK = int(os.getenv('LOCAL_RANK', -1)) # https://pytorch.org/docs/stable/elastic/run.html |
57 | 56 | RANK = int(os.getenv('RANK', -1)) |
|
0 commit comments