Skip to content

Commit 5607870

Browse files
authored
Merge branch 'dev' into update-vista3d-to-use-oss
2 parents 7811723 + 304f9bd commit 5607870

File tree

4 files changed

+4
-75
lines changed

4 files changed

+4
-75
lines changed

models/vista2d/configs/hyper_parameters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ infer:
8383

8484
device: "$torch.device(('cuda:' + os.environ.get('LOCAL_RANK', '0')) if torch.cuda.is_available() else 'cpu')"
8585
network_def:
86-
_target_: scripts.cell_sam_wrapper.CellSamWrapper
86+
_target_: monai.networks.nets.cell_sam_wrapper.CellSamWrapper
8787
checkpoint: $os.path.join(@ckpt_path, "sam_vit_b_01ec64.pth")
8888
network: $@network_def.to(@device)
8989

models/vista2d/configs/inference.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"use_amp": true,
2121
"amp_dtype": "$torch.float",
2222
"network_def": {
23-
"_target_": "scripts.cell_sam_wrapper.CellSamWrapper",
23+
"_target_": "monai.networks.nets.cell_sam_wrapper.CellSamWrapper",
2424
"checkpoint": "@sam_ckpt_path"
2525
},
2626
"network": "$@network_def.to(@device)",

models/vista2d/configs/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20240725.json",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"changelog": {
5+
"0.2.2": "update to use monai components",
56
"0.2.1": "initial OSS version"
67
},
78
"monai_version": "1.4.0",

models/vista2d/scripts/cell_sam_wrapper.py

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)