Skip to content

Different data preprocessing in baselines and 3DSAM-adapter #43

@csp2002

Description

@csp2002

I find that when creating the dataloader for baseline models, the value range of the input is 0 to 1 using the following code:
transforms = [
ScaleIntensityRanged(
keys=["image"],
a_min=self.intensity_range[0],
a_max=self.intensity_range[1],
b_min=0,
b_max=1,
clip=True,
),
]

But in 3DSAM-adapter, the value range is the same as the intensity range using the following code:
transforms = [
ScaleIntensityRanged(
keys=["image"],
a_min=self.intensity_range[0],
a_max=self.intensity_range[1],
b_min=self.intensity_range[0],
b_max=self.intensity_range[1],
clip=True,
),
].

Could you please explain more about this difference? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions