{"id":288,"date":"2018-04-30T20:24:35","date_gmt":"2018-04-30T20:24:35","guid":{"rendered":"https:\/\/blogs.mathworks.com\/deep-learning\/?p=288"},"modified":"2021-04-06T15:52:06","modified_gmt":"2021-04-06T19:52:06","slug":"deep-learning-network-analyzer","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/deep-learning\/2018\/04\/30\/deep-learning-network-analyzer\/","title":{"rendered":"Deep Learning Network Analyzer"},"content":{"rendered":"<p>Earlier this month, the Neural Network Toolbox team submitted a new <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/66982-deep-learning-network-analyzer-for-neural-network-toolbox\">Deep Learning Network Analyzer tool<\/a> to the File Exchange. (<b>Note<\/b>: it requires the R2018a release.) This very useful tool helps you spot problems if you are building a network from scratch, or if you are modifying the structure of an existing network. It can identify missing or disconnected layers; mismatched layer input sizes; incorrect number of layer inputs; or invalid graph structures. <\/p>\r\n      <p>To try it out, I loaded in <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/64456-neural-network-toolbox-tm--model-for-googlenet-network\">GoogLeNet<\/a>, and then I started messing with it. I disconnected a couple of layers, and I chopped off the first layer. Then I ran <inline style=\"font-family: monospace, monospace; font-size: inherit;\">analyzeNetwork(my_lgraph)<\/inline>. Here's the resulting display: <\/p>\r\n      <p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2018\/04\/NetworkAnalyzerPost_1.png\"><\/p>\r\n      <p>You can see how the analyzer has flagged the structural errors. <\/p>\r\n      <p>The analyzer also shows you useful details about the individual layers. Here is part of the display for the unmessed-with GoogLeNet: <\/p>\r\n      <p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2018\/04\/NetworkAnalyzerPost_2.png\"><\/p>\r\n      <p>So, give the new analyzer a try. Just remember that you need the latest release, R2018a, to run it.<\/p>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2018\/04\/NetworkAnalyzerPost_1.png\" onError=\"this.style.display ='none';\" \/><\/div><p>Earlier this month, the Neural Network Toolbox team submitted a new Deep Learning Network Analyzer tool to the File Exchange. (Note: it requires the R2018a release.) This very useful tool helps you... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/deep-learning\/2018\/04\/30\/deep-learning-network-analyzer\/\">read more >><\/a><\/p>","protected":false},"author":42,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts\/288"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts\/288\/revisions\/290"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}