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

조회 수: 18 (최근 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
Sivylla Paraskevopoulou 2023년 10월 4일
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