Error using dlnetwork and dlfeval

조회 수: 2 (최근 30일)
Abu Yusuf
Abu Yusuf 2022년 9월 15일
댓글: Abolfazl Chaman Motlagh 2022년 9월 22일
Hi,
I get this error :

답변 (1개)

Abolfazl Chaman Motlagh
Abolfazl Chaman Motlagh 2022년 9월 15일
the image or images you're forwarding through dl network is colored ( has 3 channels - RGB most probably). try rgb2gray function on your dataset for set channel dimension to 1.
  댓글 수: 8
Abu Yusuf
Abu Yusuf 2022년 9월 22일
i still get the same error
Abolfazl Chaman Motlagh
Abolfazl Chaman Motlagh 2022년 9월 22일
that shouldn't be possible :) (because the error is "there is no modelGradientGen value or function but we just add it!)
ok. fix your own code by adding modelGradientGen to supporting functions yourself. and run it.

댓글을 달려면 로그인하십시오.

카테고리

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