Skip to content

Commit 0ecb091

Browse files
committed
minor update to fxn call
1 parent 8601418 commit 0ecb091

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

napari_cellseg3d/models/TRAILMAP_MS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
target_dir = os.path.join("models","pretrained")
88

99
def get_weights_file():
10-
utils.DownloadModel(model, train_dir)
10+
utils.DownloadModel(modelname, target_dir)
1111
return "TRAILMAP_MS_best_metric_epoch_26.pth" #model additionally trained on Mathis/Wyss mesoSPIM data
1212

1313

napari_cellseg3d/models/model_TRAILMAP.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
target_dir = os.path.join("models","pretrained")
77

88
def get_weights_file():
9-
utils.DownloadModel(model, train_dir)
9+
uutils.DownloadModel(modelname, target_dir)
1010
return "TRAILMAP_PyTorch.pth" #original model form Luo lab, transfered to pytroch
1111

1212

napari_cellseg3d/models/model_VNet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def get_net():
1111

1212

1313
def get_weights_file():
14-
utils.DownloadModel(model, train_dir)
14+
utils.DownloadModel(modelname, target_dir)
1515
return "VNet_40e.pth"
1616

1717

0 commit comments

Comments
 (0)