Differences between Deep Learning Toolboxes versions 18b and 19a

5 次查看(过去 30 天)
I have successfully set up a GoogLeNet network using the Deep Learning Toolbox (version 19a) on a standalone computer. I copied the LayerGraph variable to my networked computer which runs version 18b. When I load the variable I get the following warnings and the LayerGraph variable is empty:
Warning: While loading an object of class 'nnet.cnn.layer.ImageInputLayer':
Reference to non-existent field 'IsAverageImageMeanPerChannel'.
Warning: While loading an object of class 'nnet.cnn.layer.FullyConnectedLayer':
Index exceeds the number of array elements (1).
Warning: While loading an object of class 'nnet.cnn.LayerGraph':
Dot indexing is not supported for variables of this type.
I have read the release notes for the Deep Learning Toolbox version 19a, and cannot see why it should not be backward compatible (although I admit that I did not fully understand all the comments).
Am I trying to do something that is impossible, or have I overlooked something?

采纳的回答

Shubh Sahu
Shubh Sahu 2019-9-20
'IsAverageImageMeanPerChannel' is introduced in R2019a and for 'final layers' dot notation is not supported in 2018b. For more information refer these links
  1 个评论
Benjamin Zeff
Benjamin Zeff 2019-11-14
I have run into the same problem as Nick recently, trying to share a DAGNetwork created in MATLAB 2019a with someone using 2018b. I understand the basic idea here that there were some classes/fields that have changed. Is there any way, however, to write out the trained network to make it backward compatible?
I have been able to share trained networks of this type between the two systems in the past. In those cases, the networks were created by the default segnetLayers(...) command and then trained. There was no problem opening them and using them in R2018b. My newer network uses the replaceLayers function (R2019a) to create a non-normalized input and a weighted classification layer output. This network cannot be opened in R2018b, and I get the errors above. But the final architecture of the new and old networks is basically the same! Where is the 'IsAverageImageMeanPerChannel' and 'final layers' dot notation coming in? Can I circumvent that?
Thank you for any help you can offer.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by