Skip to content

Commit

Permalink
ultralytics#2579 vergessen
Browse files Browse the repository at this point in the history
  • Loading branch information
Lechtr committed Mar 28, 2021
1 parent 7ce5755 commit 573eba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from utils.loss import ComputeLoss
from utils.plots import plot_images, plot_labels, plot_results, plot_evolution
from utils.torch_utils import ModelEMA, select_device, intersect_dicts, torch_distributed_zero_first, is_parallel
from utils.wandb_logging.wandb_utils import WandbLogger, resume_and_get_id
from utils.wandb_logging.wandb_utils import WandbLogger, check_wandb_resume



Expand Down Expand Up @@ -564,7 +564,7 @@ def train_ray_tune(config):
check_requirements()

# Resume
wandb_run = resume_and_get_id(opt)
wandb_run = check_wandb_resume(opt)
if opt.resume and not wandb_run: # resume an interrupted run
ckpt = opt.resume if isinstance(opt.resume, str) else get_latest_run() # specified or most recent path
assert os.path.isfile(ckpt), 'ERROR: --resume checkpoint does not exist'
Expand Down

0 comments on commit 573eba7

Please sign in to comment.