- Deep Learning Toolbox Converter for TensorFlow Models
- Deep Learning Toolbox
- Image Processing Toolbox
- Computer Vision Toolbox
Repeated errors trying to install synthseg
7 次查看(过去 30 天)
显示 更早的评论
I have been trying to install and run synthseg on Matlab R2022a without success. I've had a look at the questions on this community and have tried a couple of fixes but it does not seem to be working despite these. I have installed the add on for deep learning converter to tensorflow.
This is the error code I'm getting:
zipFile = matlab.internal.examples.downloadSupportFile("image","data/brainSegData.zip");
filepath = fileparts(zipFile);
unzip(zipFile,filepath)
>> dataDir = fullfile(filepath,"brainSegData");
>> trainedBrainCANDINetwork_url = "https://www.mathworks.com/supportfiles/"+ ...
"image/data/trainedSynthSegModel.zip";
downloadTrainedNetwork(trainedBrainCANDINetwork_url,dataDir)
>> net = importNetworkFromTensorFlow(fullfile(dataDir,"trainedSynthSegModel"))
Unrecognized function or variable 'importNetworkFromTensorFlow'.
I then tried using this older expression because I have an old OS and older version of matlab:
>> net = importTensorFlowNetwork(fullfile(dataDir,"trainedSynthSegModel"))
Error using nnet.internal.cnn.tensorflow.importTensorFlowNetwork
ModelFolder not found:
'/Users/clarabelessiotis/Documents/MATLAB/Examples/R2022a/supportfiles/image/data/brainSegData/trainedSynthSegModel'.
Error in importTensorFlowNetwork (line 107)
Network = nnet.internal.cnn.tensorflow.importTensorFlowNetwork(modelFolder, varargin{:});
>>
0 个评论
回答(1 个)
Abhinav Aravindan
2024-10-16
Hi Clara,
I assume that you are using the “Brain MRI Segmentation Using Pretrained 3-D U-Net Network” example from the “Medical Imaging Toolbox”. The “Medical Imaging Toolbox” appears to have been introduced in R2022b as per the release notes below:
To use the example, you may consider upgrading to MATLAB R2022b or later and access the example using the following command:
openExample('images_deeplearning/BrainMRISegmentationUsingTrained3DUNetExample')
For further details on the example, please refer to the documentation below from the MATLAB R2022b release. Please note that this example uses the following Toolboxes in addition to the “Medical Imaging Toolbox”:
I hope this answers your query!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!