Borrar filtros
Borrar filtros

Error states that Deep Learning Toolbox is required even though license is purchased and toolbox is installed?

13 visualizaciones (últimos 30 días)
I have the same version and packages installed on two different computers. One computer runs the neural network code just fine. The other computer does not.
I am trying to create a datastore that requires the Deep Learning Toolbox which is installed (checked the add-on manager). However, it says the following:
patchds = randomPatchExtractionDatastore(volds,pxds,patchSize, ...
PatchesPerImage=patchPerImage);
Error using randomPatchExtractionDatastore
'MiniBatchable' requires Deep Learning Toolbox.
I tried restarting my computer, and reinstalling MATLAB. Neither jogged its memory that the Deep Learning Toolbox is installed. I also tried using the Deep Network Designer (both by code in cmd and by clicking on the app), and those gave the same error with different text:
Error using deepNetworkDesigner
Invalid default value for property 'Network' in class 'deepapp.internal.editor.import.NoArgsCallStrategy':
layerGraph requires a Neural_Network_Toolbox license.
I thought the Neural Network Toolbox was deprecated?

Respuesta aceptada

Image Analyst
Image Analyst el 2 de Ag. de 2023
Editada: Image Analyst el 2 de Ag. de 2023
Evidently you don't have a license for it even though it may be installed. If you type "ver" in the command window, do you see it listed? If so, what does this show:
hasLicenseForToolbox = license('test', 'Neural_Network_Toolbox'); % Check for Deep Learning Toolbox.
On the computer it does not work on, do you have a license that you need to check out of a shared license pool? Perhaps others in the license group checked out all the licenses and you have to wait until someone quits MATLAB.
The "Neural Network Toolbox" is still around but it's is in the process of being renamed to the "Deep Learning Toolbox," so it might go by both names for a while, like in the license function I gave above..
  2 comentarios
Alexander Moody
Alexander Moody el 2 de Ag. de 2023
There is no shared license pool. Using "ver" shows that it is installed, up to date and that there should be a license for it. The command that you posted comes out as false/0 though.
Thanks for the help. I guess I will just have to live with it or try to figure it out another way. Let me know if you have other ideas.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Administer Network Licenses en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by