Skip to content
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

ND4J: ImagePreProcessingScaler should support segmentation #8135

Closed
AlexDBlack opened this issue Aug 22, 2019 · 0 comments · Fixed by KonduitAI/deeplearning4j#21
Closed

ND4J: ImagePreProcessingScaler should support segmentation #8135

AlexDBlack opened this issue Aug 22, 2019 · 0 comments · Fixed by KonduitAI/deeplearning4j#21

Comments

@AlexDBlack
Copy link
Contributor

@AlexDBlack AlexDBlack commented Aug 22, 2019

Only features can be normalized using this normalizer.
Segmentation is a legitimate use case to allow normalizing labels here also.

https://github.com/eclipse/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/preprocessor/ImagePreProcessingScaler.java#L126-L134

It should be trivial to add, just add a fitLabels field, and if set to true call the existing methods for the features, but with labels instead.

@AlexDBlack AlexDBlack added this to the 1.0.0-beta6 milestone Oct 31, 2019
AlexDBlack added a commit to KonduitAI/deeplearning4j that referenced this issue Nov 1, 2019
Signed-off-by: AlexDBlack <blacka101@gmail.com>
AlexDBlack added a commit to KonduitAI/deeplearning4j that referenced this issue Nov 1, 2019
Signed-off-by: AlexDBlack <blacka101@gmail.com>
AlexDBlack added a commit to KonduitAI/deeplearning4j that referenced this issue Nov 2, 2019
* MKLDNN LSTM forward implementation (disabled pending eclipse#8331)

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* eclipse#8318 add SameDiff.calculateGradientsAndOutputs

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* Disable mkldnn backprop for now - pending fix, issue eclipse#8335

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* eclipse#8337 Fix CudaExecutioner unnecessary result array allocation/replacement

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* Small FlatBuffers serde fix, UInt8

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* eclipse#8135 ImagePreProcessingScaler - add segmentation support

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* eclipse#8319 Ensure listeners are called when they are supposed to be called

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* eclipse#8214 UNet (non-pretrained) last conv layer kernal size fix

Signed-off-by: AlexDBlack <blacka101@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.