Skip to content

Commit

Permalink
Remove bone lesion
Browse files Browse the repository at this point in the history
  • Loading branch information
heyufan1995 committed Jun 27, 2024
1 parent 12c0f81 commit 0d2d5a2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configs/train/hyper_parameters_stage1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ skip_iter_prob: 0
train_datasets: [CTPelvic1K-CLINIC, AbdomenCT-1K, AeroPath, AMOS22,
BTCV-Abdomen, BTCV-Cervix, CT-ORG, FLARE22, Multi-organ-Abdominal-CT-btcv,
Multi-organ-Abdominal-CT-tcia, Pancreas-CT, Task03, Task06, Task07,
Task08, Task09, Task10, VerSe, Bone-NIH, CRLM-CT, TotalSegmentatorV2, NLST, LIDC, StonyBrook-CT, TCIA_Colon, Covid19]
Task08, Task09, Task10, VerSe, CRLM-CT, TotalSegmentatorV2, NLST, LIDC, StonyBrook-CT, TCIA_Colon, Covid19]
val_datasets: [TotalSegmentatorV2]
transforms_train:
_target_: Compose
Expand Down
4 changes: 2 additions & 2 deletions configs/train/hyper_parameters_stage2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ resample_to_spacing: [1.5, 1.5, 1.5]
skip_iter_prob: 0
train_datasets: [CTPelvic1K-CLINIC, AbdomenCT-1K, AeroPath, AMOS22, BTCV-Abdomen,
BTCV-Cervix, CT-ORG, FLARE22, Multi-organ-Abdominal-CT-btcv, Multi-organ-Abdominal-CT-tcia,
Pancreas-CT, Task03, Task06, Task07, Task08, Task09, Task10, VerSe, Bone-NIH, CRLM-CT,
Pancreas-CT, Task03, Task06, Task07, Task08, Task09, Task10, VerSe, CRLM-CT,
TotalSegmentatorV2]
val_datasets: ['CRLM-CT', 'AeroPath', 'Task03','Task06','Task07','Task08','Task10','Bone-NIH']
val_datasets: ['CRLM-CT', 'AeroPath', 'Task03','Task06','Task07','Task08','Task10']
transforms_train:
_target_: Compose
transforms:
Expand Down
2 changes: 1 addition & 1 deletion configs/train/hyper_parameters_stage3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ resample_to_spacing: [1.5, 1.5, 1.5]
skip_iter_prob: 1
train_datasets: [CTPelvic1K-CLINIC, AbdomenCT-1K, AeroPath, AMOS22, BTCV-Abdomen,
BTCV-Cervix, CT-ORG, FLARE22, Multi-organ-Abdominal-CT-btcv, Multi-organ-Abdominal-CT-tcia,
Pancreas-CT, Task03, Task06, Task07, Task08, Task09, Task10, VerSe, Bone-NIH, CRLM-CT,
Pancreas-CT, Task03, Task06, Task07, Task08, Task09, Task10, VerSe, CRLM-CT,
TotalSegmentatorV2, NLST, LIDC, StonyBrook-CT, TCIA_Colon]
val_datasets: ['TotalSegmentatorV2']
transforms_train:
Expand Down
2 changes: 1 addition & 1 deletion configs/train/hyper_parameters_stage4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ resample_to_spacing: [1.5, 1.5, 1.5]
skip_iter_prob: 1
train_datasets: [CTPelvic1K-CLINIC, AbdomenCT-1K, AeroPath, AMOS22, BTCV-Abdomen,
BTCV-Cervix, CT-ORG, FLARE22, Multi-organ-Abdominal-CT-btcv, Multi-organ-Abdominal-CT-tcia,
Pancreas-CT, Task03, Task06, Task07, Task08, Task09, Task10, VerSe, Bone-NIH, CRLM-CT,
Pancreas-CT, Task03, Task06, Task07, Task08, Task09, Task10, VerSe, CRLM-CT,
TotalSegmentatorV2]
val_datasets: ['CRLM-CT', 'AeroPath', 'Task03','Task06','Task07','Task08','Task10','Bone-NIH']
transforms_train:
Expand Down
1 change: 1 addition & 0 deletions scripts/utils/sample_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def organ_add(self, id, Np=1, Nn=0):
self.label[self.label == id] = id + self.map_shift
self.shifted[id] = id + self.map_shift
self.read_only_id.append(id + self.map_shift)
print("organ add")
return _point, _point_label
return self.regular(id, Np, Nn)

Expand Down

0 comments on commit 0d2d5a2

Please sign in to comment.