PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

如何查看模型基础结构和参数信息?

Open GZHUZhao opened this issue 5 years ago • 4 comments

paddle.summary()报错。 image

请问使用paddle.summary()怎么查看模型的结构和参数信息? 或者有没有其他方法查看?

GZHUZhao avatar Apr 29 '21 06:04 GZHUZhao

(1)您是参考这个文档: summary 写的吗? (2)您可以通过 tools/export_model.py 导出模型,然后使用模型可视化工具(如 PaddleVDL)查看模型结构。

liuhuiCNN avatar Apr 29 '21 09:04 liuhuiCNN

(1)您是参考这个文档: summary 写的吗? (2)您可以通过 tools/export_model.py 导出模型,然后使用模型可视化工具(如 PaddleVDL)查看模型结构。

是用的paddle.summary()的。 paddleVDL显示的模型结构太复杂了,我需要的是每一层的尺寸和参数大小这些。

GZHUZhao avatar Apr 29 '21 10:04 GZHUZhao

paddle.summary()报错。 image

请问使用paddle.summary()怎么查看模型的结构和参数信息? 或者有没有其他方法查看?

老哥,你是怎么看模型的参数大小的啊,就是比如你上面用的SSD,在哪里嵌入代码啊,我尝试了一下,和你一样的错误

dengxinlong avatar May 10 '21 07:05 dengxinlong

Since this issue has not been updated for more than three months, it will be closed, if it is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. It is recommended to pull and try the latest code first. 由于该问题超过三个月未更新,将会被关闭,若问题未解决或有后续问题,请随时重新打开(建议先拉取最新代码进行尝试),我们会继续跟进。

paddle-bot-old avatar Mar 16 '22 06:03 paddle-bot-old