downloadTrainedNetwork not found (deep learning toolbox?)

6 visualizaciones (últimos 30 días)
Lauren
Lauren el 9 de Jun. de 2025
Editada: Matt J el 11 de Jun. de 2025
Hi, I am a new MATLAB R2025a user and am trying to follow along this tutorial: https://www.mathworks.com/help/images/segment-3d-brain-tumor-using-deep-learning.html#Segment3DBrainTumorsUsingDeepLearningExample-3. When I try to run many of the functions, such as downloadTrainedNetwork, I get this message and find that the function is not defined. I'm having trouble finding documentation for this function online and often see it referred to as being included as a supplementary function in some of these tutorials, though I have not found a defined function. Can somebody help me find where these functions are defined? I have the Computer Vision, Deep Learning, and Image Processing Toolboxes installed.
'downloadTrainedNetwork' is used in the following examples:

Respuesta aceptada

Matt J
Matt J el 9 de Jun. de 2025
This well get you all the required functions,
openExample('images_deeplearning/Segment3DBrainTumorsUsingDeepLearningExample')
  2 comentarios
Lauren
Lauren el 9 de Jun. de 2025
Hi Matt! Thank you for the quick response. The functions are now defined but I'm running into other errors with loading the data. Do you know if these are installation related or is there another way to solve them?
(1) Error using load
Unable to find file or directory '/Users/laurentso/Downloads/BraTS/brainTumorSegmentation3DUnet_v2.mat'.
Here, the downloadTrainedNetwork downloads the file brainTumorSegmentation3DUnet_v2.zip but fails to unzip or locate a .mat file.
Function UNTAR was unable to read URL ''https://www.mathworks.com/supportfiles/vision/data/sampleBraTSTestSetValid.tar.gz''.
fullfilename = downloadArchiveFile(protocol, filename, functionName);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[archiveFilename, url] = matlab.io.internal.archive.checkFilename(archiveFilename, validExtensions, archiveFcn, argName);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in untar (line 10)
matlab.io.internal.archive.parseUnArchiveInputs(mfilename, tarFilename, ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
untar(sampledata_url,destination);
Matt J
Matt J el 10 de Jun. de 2025
Editada: Matt J el 11 de Jun. de 2025
The code is trying to download data from MathwWorks and failing. MathWorks has had IT problems recently, and I guess they aren't fully resolved.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by