PaddleDetection中slim剪枝下的eval.py文件的输出中有pruned FLOPS,请问这个是剪枝后节省的flops吗?

cgh8pdjw  于 2021-11-29  发布在  Java
关注(0)|答案(3)|浏览(307)

还有这个指标是eval.py中哪一行代码输出的呢?我没有找到print(pruned FLOPS)这种字样。

aamkag61

aamkag611#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

a11xaf1n

a11xaf1n2#

对不起,打开错eval.py文件了,只需要问第一个问题

70gysomp

70gysomp3#

@zmdcshttps://github.com/PaddlePaddle/PaddleDetection/blob/release/2.2/static/slim/prune/eval.py#L134-L135 这里打印的是裁剪掉的flops的百分比,如果想打印剪裁后的flops,打印pruned_flops字段即可

相关问题