我如何知道Pytorch中的预训练模型的体系结构?

问题描述

我已经下载了此经过预先训练的模型“ model_ir_se50.pth”用于面部识别。它给出了很好的结果。我怎么知道它的架构?

解决方法

简单的print(net) #replace net with the network variable将根据您的需要工作。