-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NormalisationTransform has no attribute masking_method #49
Comments
it is not assign if you use a string as argument |
Fixed in |
By the way,
|
Ok pour Compose, (I though it was mandatory) I do not work with CT data, I use rescale to have number between 0 and 1 (by the way I would change the default for out_min_max 0 1 Currently I do not undersand, why I get value between 1 and 3 instead of value between -1 1 ... (but it woks fine if I ask fo (0,1) ... |
Instead of |
Thanks again! I definitely need to write some unit tests... |
Is there a strong reason to choose (0, 1) over (-1, 1)? |
I'd like to make this implementation look more like https://github.com/scikit-image/scikit-image/blob/master/skimage/exposure/exposure.py#L269 |
I do not know if it makes a difference from a CNN point of view. ... ? It is just that mri is usually always positive (see #37 (comment)) Other point may be, after masking you usually get voxel value to zero in the background, so normalizing to -1 1 will break it ... but not a big deal it is just the default value, easy to change |
I get an error with
transfo = Compose(( Rescale(masking_method='mask', verbose=True),))
In the init of NormalizationTransform you use self.masking_method
but it is not assign
The text was updated successfully, but these errors were encountered: