Merge pull request #1266 from kaczmarj/enh/no-star-imports

ENH: replace star imports with imported names in train.py
pull/1270/head
Ross Wightman 3 years ago committed by GitHub
commit fd360ac951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,8 +31,11 @@ from torch.nn.parallel import DistributedDataParallel as NativeDDP
from timm.data import create_dataset, create_loader, resolve_data_config, Mixup, FastCollateMixup, AugMixDataset from timm.data import create_dataset, create_loader, resolve_data_config, Mixup, FastCollateMixup, AugMixDataset
from timm.models import create_model, safe_model_name, resume_checkpoint, load_checkpoint,\ from timm.models import create_model, safe_model_name, resume_checkpoint, load_checkpoint,\
convert_splitbn_model, model_parameters convert_splitbn_model, model_parameters
from timm.utils import * from timm.utils import setup_default_logging, random_seed, set_jit_fuser, ModelEmaV2,\
from timm.loss import * get_outdir, CheckpointSaver, distribute_bn, update_summary, accuracy, AverageMeter,\
dispatch_clip_grad, reduce_tensor
from timm.loss import JsdCrossEntropy, BinaryCrossEntropy, SoftTargetCrossEntropy, BinaryCrossEntropy,\
LabelSmoothingCrossEntropy
from timm.optim import create_optimizer_v2, optimizer_kwargs from timm.optim import create_optimizer_v2, optimizer_kwargs
from timm.scheduler import create_scheduler from timm.scheduler import create_scheduler
from timm.utils import ApexScaler, NativeScaler from timm.utils import ApexScaler, NativeScaler

Loading…
Cancel
Save