How to import a pretrained deeplabv3+(xception-71 as backbone) model using MATLAB function importNetw​orkFromTen​sorFlow?

19 次查看(过去 30 天)
In the help document for importNetworkFromTensorFlow function, the argument is a model folder, and the model folder must include saved_model file with the .pb extension and the learned weights in the variables subfolder.
But in the "TensorFlow DeepLab Model Zoo - GitHub", the downloaded folder does not appear to include saved_model.pb and variables subfolder.
Where can I download the required model folder?

回答(1 个)

Sivylla Paraskevopoulou
Hi Chen, you don't need to import the DeepLab v3+ model from TensorFlow. You can use the deeplabv3plusLayers function to create aDeepLab v3+ model for image segmentation in MATLAB. Set the name-value argument network as 'xception' to define the base network.
  1 个评论
Chen Xinbing
Chen Xinbing 2023-10-6
编辑:Chen Xinbing 2023-10-13
Thanks very much!
I have studied the source code of function deeplabv3plusLayers using argument 'xception', I find out that the function deeplabv3plusLayers only returns xception-41 network architecture. (Inside deeplabv3plusLayers's source code, it uses function xception() to return a pre-trained xception-41 network. To execute MATLAB code "analyzeNetwork(layerGraph(xception()))" can confirm the fact.) But I want to use xception-65/71 as the backbone of deeplabv3+, so the function deeplabv3plusLayers does not appear to satisfy my purpose.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Recognition, Object Detection, and Semantic Segmentation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by