Skip to content

Commit

Permalink
updated downloadable model default path
Browse files Browse the repository at this point in the history
  • Loading branch information
danilexn committed Apr 19, 2024
1 parent c9fb92d commit 69eefc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openst/preprocessing/image_preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"HE_CUT_rajewsky"
]

MODEL_DIR = pathlib.Path.home().joinpath(".CUT", "models")
MODEL_DIR = pathlib.Path.home().joinpath(".openst", "CUT", "models")
_MODEL_URL = "http://bimsbstatic.mdc-berlin.de/rajewsky/openst-public-data/CUT_models"

def create_dataset(args, opt):
Expand Down
2 changes: 1 addition & 1 deletion openst/segmentation/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
]

# adapted from cellpose
MODEL_DIR = pathlib.Path.home().joinpath(".cellpose", "models")
MODEL_DIR = pathlib.Path.home().joinpath(".openst", "cellpose", "models")
_MODEL_URL = "http://bimsbstatic.mdc-berlin.de/rajewsky/openst-public-data/models"

def cache_model_path(basename):
Expand Down

0 comments on commit 69eefc9

Please sign in to comment.