Borrar filtros
Borrar filtros

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

18 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Sivylla Paraskevopoulou
Sivylla Paraskevopoulou el 4 de Oct. de 2023
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 comentario
Chen Xinbing
Chen Xinbing el 6 de Oct. de 2023
Editada: Chen Xinbing el 13 de Oct. de 2023
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Data Workflows 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