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

问题描述

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

解决方法

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

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...