Skip to content

Commit

Permalink
update sc_correction_dataset.py: define classes
Browse files Browse the repository at this point in the history
  • Loading branch information
dummyindex committed Mar 22, 2024
1 parent d0ef61f commit 5d98628
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions livecellx/model_zoo/segmentation/sc_correction_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
class CorrectSegNetDataset(torch.utils.data.Dataset):
"""Dataset for training CorrectSegNetDatasert"""

OVERSEG_ONEHOT = [1, 0, 0, 0]
UNDERSEG_ONEHOT = [0, 1, 0, 0]
DROPOUT_ONEHOT = [0, 0, 1, 0]
CORRECT_ONEHOT = [0, 0, 0, 1]

def __init__(
self,
raw_img_paths: List[str],
Expand Down

0 comments on commit 5d98628

Please sign in to comment.