NifTK / NiftyNet

[unmaintained] An open-source convolutional neural networks platform for research in medical image analysis and image-guided therapy
http://niftynet.io
Apache License 2.0
1.37k stars 404 forks source link

tested code for classification and segmentation applications #374

Closed kklaser closed 5 years ago

kklaser commented 5 years ago

Status

READY

Description

Improved error messages regarding to issue #274. Classification and Segmentation application now ensure that num_of_classes and number of labels are the same and the user is told to check the histogram_ref file in case there is an issue. Also it throws an error if the number of classes is smaller than 2 as both classification and segmentation do not make sense with only 1 class.

UNet error message: states that input image size must be bigger than 88 and divisible by 8

Types of changes

Todos

Impacted Areas in Application

List general components of the application that this PR will affect: *Segmentation and Classification Application