Skip to content

Commit

Permalink
Merge pull request #170 from tc2fh/dev
Browse files Browse the repository at this point in the history
fixed annotator_3d missing embedding path
  • Loading branch information
constantinpape authored Sep 2, 2023
2 parents 521cc86 + 6a78484 commit dca5bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micro_sam/sam_annotator/annotator_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _autosegment_widget(


def _load_amg_state(embedding_path):
if not os.path.exists(embedding_path):
if embedding_path is None or not os.path.exists(embedding_path):
return {"cache_folder": None}

cache_folder = os.path.join(embedding_path, "amg_state")
Expand Down

0 comments on commit dca5bd6

Please sign in to comment.