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

请问在哪里改batchsize大小 #3

Open
txyxju1997 opened this issue Mar 23, 2022 · 6 comments
Open

请问在哪里改batchsize大小 #3

txyxju1997 opened this issue Mar 23, 2022 · 6 comments

Comments

@txyxju1997
Copy link

No description provided.

@Bruce-Si
Copy link

Bruce-Si commented May 6, 2022

同问,找到了吗?

@wufan-tb
Copy link
Owner

这个里面不涉及batchsize,因为slowfast是一秒的视频处理一次,所以这一秒的(比如25帧)就作为一个batch送到yolov5里处理,不方便修改,这也是现有框架下比较好的方式(基本实时),硬要改的话,可以看下slow_fast.py 里面第100~110行代码

@Bruce-Si
Copy link

@wufan-tb
明白了谢谢,但为啥我在v100上slowfast处理1个clip的视频要5s左右
1

@wufan-tb
Copy link
Owner

你这个好像是有点慢,确认gpu用上了吗,或者有可能和视频尺寸有关系,压缩下分辨率和码率呢

@Bruce-Si
Copy link

嗯,确定用上了gpu,视频刚压缩了一下,对slowfast速度没影响...
1

@white1wind
Copy link

你这个好像有点慢,确认gpu用上了吗,或者有可能和视频尺寸有关系,压缩率和码率呢

你好,我这为什么用不上gpu

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

4 participants