Problem while usinge UNET

2 次查看(过去 30 天)
Oskar
Oskar 2022-11-28
回答: Ben 2022-11-29
Hello, I am trying to build up an UNET, but it is givinge me this error, i dont know what to change .. pls help me :)
My data is in two folders, but what do they mean with response size ??

回答(1 个)

Ben
Ben 2022-11-29
The response size is the size of the target data. I see this error when trying to train a regression network and the network's output size does not match the size of the target data. You will need to add or configure layers such that the images propagated through your network end up with size [1,1,2] - a simple way to do this might be to add a fullyConnectedLayer(2) before the output regressionLayer as this will "flatten" the 256x256x2 images into 1x1x2 via the standard fully connected layer operation (a matrix multiply plus a bias).

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by