Problem while usinge UNET

조회 수: 5 (최근 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에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by