Skip to content

Commit

Permalink
auto updates (#383)
Browse files Browse the repository at this point in the history
Signed-off-by: monai-bot <[email protected]>

Signed-off-by: monai-bot <[email protected]>
  • Loading branch information
monai-bot authored May 7, 2024
1 parent e4cf5a1 commit d4fa3dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions auto3dseg/algorithm_templates/swinunetr/scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
import sys
import time
import warnings
from pathlib import Path
from datetime import datetime
from pathlib import Path
from typing import Optional, Sequence, Union

import mlflow
import mlflow.pytorch
import numpy as np
import torch
import torch.distributed as dist
from filelock import FileLock
import yaml
from filelock import FileLock
from torch.nn.parallel import DistributedDataParallel
from torch.nn.utils import clip_grad_norm_
from torch.utils.tensorboard import SummaryWriter
Expand Down Expand Up @@ -154,7 +154,7 @@ def run(config_file: Optional[Union[str, Sequence[str]]] = None, **override):
path
for path in ensure_tuple(config_file_)
if not (path.endswith("hyper_parameters.yaml") or Path(path).name.startswith(".") or path.endswith(".lock"))
]
]

parser = ConfigParser()
parser.read_config(config_file_)
Expand Down

0 comments on commit d4fa3dc

Please sign in to comment.