Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VGG版本和ResNet版本FPS #131

Open
CK11111 opened this issue May 15, 2021 · 2 comments
Open

VGG版本和ResNet版本FPS #131

CK11111 opened this issue May 15, 2021 · 2 comments

Comments

@CK11111
Copy link

CK11111 commented May 15, 2021

作者您好,刚学习深度学习方面的知识有些不太理解。我想问一下,理论上ResNet参数和计算量都要比VGG小,为什么RCF-VGG的fps要比RCF-ResNet的fps高??

@yun-liu
Copy link
Owner

yun-liu commented May 15, 2021

@CK11111 您好。ResNet比VGG速度快的版本只有ResNet18吧。

VGG的参数和计算量大是因为后面的几层全连接层,但是在全卷积网络(FCN)里,这些全连接层都被去掉了。实际上,VGG卷积层的参数量是14M,ResNet50是25M,ResNet101更大。而且,计算量(FLOPs)和真实的速度并没有直接关系,速度还和显存读取和写入、计算的并发度等很多因素相关。

@CK11111
Copy link
Author

CK11111 commented May 16, 2021

真的非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants