Reply To: Using UNet for Automatic Segmentation of CT Lung Images

Peter Herrmann

    Dear Youssef,

    Oh great thank you. I will have a look.

    In the meantime I had already dealt with the previous example.

    I modified the MedUNet VI a bit. e.g. programmed the original UNet. Reduced the images to 256×256 with Imaq Vision…
    In the training loop, I passed the 4D validation data (you call it test data) directly to the (Forward Input 4D). So not from a parallel loop via a global variable.

    The data type is exactly the same as in your example. However, I get an error message:
    “Our model expects 4 input(s), but it receives 1 input array”.

    Can you tell me what the error message means?