FCN code giving odd results

조회 수: 3 (최근 30일)
Shoaib Ali
Shoaib Ali 2022년 8월 23일
댓글: Shoaib Ali 2022년 9월 12일
Hi,
I am training FCN using my data for segmentation. I am facing a problem. When I use “fcnLayers” to train FCN on my data, it gives me proper segmented output.
But when I open the network (FCN) in deep network designer and generate the code of FCN from there and use that code to train FCN on my data it gives me very odd result. Can anyone guide me what is the reason of that?
This is segmented output using "fcnLayers" command.
The sgmented output using fcn code ( genertes from the deep network designer)

채택된 답변

Birju Patel
Birju Patel 2022년 9월 8일
The fcnLayers functions returns a network with image net trained weights. When you generate code from Deep Network Designer, make sure to select “with initial parameters”. This will store the pretrained weights of the FCN network created by the app. If you don't do that, then the weights are left randomly initialized when you train. That is probably why you're getting different results.

추가 답변 (0개)

카테고리

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