Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
soniamartinot authored Jun 11, 2021
1 parent 3118d2c commit 58bd0f1
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 @@ -22,7 +22,7 @@
# Parser parameters
args = parse_args()
# Get the cases paths
cases = list_cases(simu_path, exclude=[])
cases = list_cases(args.simu_path, exclude=[])
# Instantiate the selected model and indicate whether it's UNet based or not
model, unet = instantiate_model(args.model_name)
# Create train and validation dataloaders
Expand Down Expand Up @@ -241,4 +241,4 @@

# Reset
loss_train, ssim_train, mse_train, l1_train = 0, 0, 0, 0
a = time.time()
a = time.time()

0 comments on commit 58bd0f1

Please sign in to comment.