Error using dlnetwork and dlfeval

3 visualizaciones (últimos 30 días)
Abu Yusuf
Abu Yusuf el 15 de Sept. de 2022
Comentada: Abolfazl Chaman Motlagh el 22 de Sept. de 2022
Hi,
I get this error :

Respuestas (1)

Abolfazl Chaman Motlagh
Abolfazl Chaman Motlagh el 15 de Sept. de 2022
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 comentarios
Abu Yusuf
Abu Yusuf el 22 de Sept. de 2022
i still get the same error
Abolfazl Chaman Motlagh
Abolfazl Chaman Motlagh el 22 de Sept. de 2022
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning for Image Processing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by