Skip to content

Commit

Permalink
[add] add cell_seg func
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenbin24 committed Nov 4, 2023
1 parent c355846 commit ed6567b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion stereo/image/segmentation/seg_utils/v1_pro/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from stereo.image.segmentation.seg_utils.v1_pro.cell_seg_pipeline_v2 import CellSegPipeV1Pro # noqa
from stereo.image.segmentation.seg_utils.v1_pro.cell_seg_pipeline_v1_pro import CellSegPipeV1Pro # noqa
2 changes: 0 additions & 2 deletions stereo/image/segmentation/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ def cell_seg(
os.environ["CUDA_VISIBLE_DEVICES"] = str(gpu)
if version in [VersionType.v1.value, VersionType.v3.value] and not model_path:
raise Exception("cell_seg() missing 1 required keyword argument: 'model_path'")
import pdb
pdb.set_trace()
if version == VersionType.v1.value:
cell_seg_pipeline = CellSegPipeV1(
img_path,
Expand Down

0 comments on commit ed6567b

Please sign in to comment.